diff options
author | Martijn Otto <martijn.otto@copernica.com> | 2016-05-19 09:53:30 +0200 |
---|---|---|
committer | Martijn Otto <martijn.otto@copernica.com> | 2016-05-19 09:53:30 +0200 |
commit | b45572340321f909142266e973faac116429d2b3 (patch) | |
tree | 9d7aac78c0626a4630c7f869b578c10655fd43f3 | |
parent | 3d830f1f9496e47ee14c14449c4369e3a7fe5a78 (diff) | |
parent | 6b380295ef0a70ec8d7fd80b224bd1fb2abe8115 (diff) |
Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/PHP-CPP
-rw-r--r-- | zend/includes.h | 7 |
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) |