summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mcrypt/mcrypt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index 9f66ce9a5d..da78250473 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -168,8 +168,11 @@ ZEND_GET_MODULE(mcrypt)
if (argc < (a) || argc > (b)) { \
WRONG_PARAM_COUNT; \
}
-#warning Invalidate resource if the param count is wrong, or other problems
-#warning occurred during functions.
+/*
+ * #warning is not ANSI C
+ * #warning Invalidate resource if the param count is wrong, or other problems
+ * #warning occurred during functions.
+ */
#define MCRYPT_GET_CRYPT_ARGS \
switch (argc) { \