commit f8c964d080b4ad10e7ea2db2ed55aeb6cea9f35f Author: Stephan Witt <[email protected]> Date: Fri Oct 24 18:12:58 2014 +0200
Check the correct macro for conditional include of lyx_commit_hash.h
diff --git a/src/version.cpp b/src/version.cpp
index 577bd2b..9b21d42 100644
--- a/src/version.cpp
+++ b/src/version.cpp
@@ -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
