aboutsummaryrefslogtreecommitdiff
path: root/src/zexy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zexy.h')
-rw-r--r--src/zexy.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/zexy.h b/src/zexy.h
index 979619a..2cd6ff3 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -45,12 +45,12 @@
* usually this is done in Make.config by configure
*/
#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
# include "zexyconf.h"
#endif /* HAVE_CONFIG_H */
-#include "m_pd.h"
-#define VERSION "2.2.4"
/* these pragmas are only used for MSVC, not MinGW or Cygwin */
#ifdef _MSC_VER
@@ -60,6 +60,15 @@
# pragma warning( disable : 4996) /* deprecated functions */
#endif
+#include "m_pd.h"
+
+
+
+
+#ifndef VERSION
+# define VERSION "(unknown version)"
+#endif
+
#ifndef HEARTSYMBOL
# define HEARTSYMBOL 64
#endif