Fix make on system without mercurial installed.
authorManuele Conti <conti.ma@alice.it>
Thu, 01 Sep 2011 21:32:57 +0200
changeset 374 01068ccb73b2
parent 373 7af3b6bed2dd
child 375 7a11f9e9e703
Fix make on system without mercurial installed.
main.cc
--- a/main.cc	Wed Aug 31 19:29:47 2011 +0100
+++ b/main.cc	Thu Sep 01 21:32:57 2011 +0200
@@ -76,6 +76,9 @@
 /* A macro for printing out internal parser errors... */
 #include <iostream> // required for std::cerr
 
+#ifndef HGVERSION
+#define HGVERSION ""
+#endif
 
 #define ERROR          error_exit(__FILE__,__LINE__)
 void error_exit(const char *file_name, int line_no) {