summaryrefslogtreecommitdiff
path: root/zend/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'zend/includes.h')
-rw-r--r--zend/includes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zend/includes.h b/zend/includes.h
index 4d35cfd..89054c3 100644
--- a/zend/includes.h
+++ b/zend/includes.h
@@ -40,6 +40,13 @@
#include <SAPI.h>
/**
+ * We don't compile for php7 just yet
+ */
+#if PHP_VERSION_ID >= 70000
+# error "This library is currently not yet compatible with php7."
+#endif
+
+/**
* Macro to convert results to success status
*/
#define BOOL2SUCCESS(b) ((b) ? SUCCESS : FAILURE)