summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index e6f391d4a2..db2e966091 100644
--- a/main/php.h
+++ b/main/php.h
@@ -366,6 +366,12 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
#endif
+
+#define PHP_NOT_IN_THIS_BUILD { \
+ php_error(E_WARNING, "%s: not supported in this PHP build",get_active_function_name()); \
+ RETURN_FALSE; \
+}
+
#endif
/*