From 597ab68817b833547d99bd9bf7cd47d728e24fef Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Sun, 31 Aug 2014 20:44:31 +0200 Subject: Fix compilation problem with old suhosin patch installed --- php_suhosin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php_suhosin.h b/php_suhosin.h index b80d9b9..d567877 100644 --- a/php_suhosin.h +++ b/php_suhosin.h @@ -391,10 +391,13 @@ ZEND_END_MODULE_GLOBALS(suhosin) #define S_MAIL (1<<7L) #define S_SESSION (1<<8L) #define S_INTERNAL (1<<29L) -#define S_GETCALLER (1<<30L) #define S_ALL (S_MEMORY | S_VARS | S_INCLUDE | S_FILES | S_MAIL | S_SESSION | S_MISC | S_SQL | S_EXECUTOR) #endif +#ifndef S_GETCALLER +#define S_GETCALLER (1<<30L) +#endif + #define SUHOSIN_NORMAL 0 #define SUHOSIN_EVAL 1 -- cgit v1.3