]> git.lyx.org Git - lyx.git/commitdiff
Check the correct macro for conditional include of lyx_commit_hash.h
authorStephan Witt <switt@lyx.org>
Fri, 24 Oct 2014 16:12:58 +0000 (18:12 +0200)
committerStephan Witt <switt@lyx.org>
Fri, 24 Oct 2014 16:12:58 +0000 (18:12 +0200)
src/version.cpp

index 577bd2b1517355565e0bf8a3e37789042b021bd0..9b21d42a6bf56d142a8044058a2abd555582c1b9 100644 (file)
@@ -12,6 +12,8 @@
 #include <config.h>
 #if ! defined(LYX_DATE)
        #include <lyx_date.h>
+#endif
+#if ! defined(LYX_GIT_COMMIT_HASH)
        #include <lyx_commit_hash.h>
 #endif