aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-06 22:00:17 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-06 22:00:17 +0000
commit0f22ff9ed0f57e7ac6848e015659e652b5096bd0 (patch)
tree9f025594425b755407af325d4cfa2a53fefbad56
parent8940277b64f2b95532a58bb7265d2ce4a29cc880 (diff)
include zexyconf.h only when ZEXY_LIBRARY is defined
(so there is a good chance that zexy's configure has generated zexyconf.h) svn path=/trunk/externals/zexy/; revision=4158
-rw-r--r--src/zexy.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/zexy.h b/src/zexy.h
index 14d01b6..11c6032 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -39,7 +39,13 @@
# endif
#endif
-#include "zexyconf.h"
+#ifdef ZEXY_LIBRARY
+/* some defines, which turn on special compile-options
+ * (like parallel-port)
+ * the ifdef is here, to not break the externals/build-system
+ */
+# include "zexyconf.h"
+#endif
#include "m_pd.h"
#include <math.h>