summaryrefslogtreecommitdiff
path: root/ext/mcrypt/mcrypt.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2003-01-06 01:26:14 +0000
committerEdin Kadribasic <edink@php.net>2003-01-06 01:26:14 +0000
commit6113d954334c3115264f3ca83fd4791d585eb21d (patch)
treee1c531b69accecca292b123f937b92ecf85f976f /ext/mcrypt/mcrypt.c
parent59b37a5ce41d12cd1f64b4e07d657d88189d59ba (diff)
downloadphp-git-6113d954334c3115264f3ca83fd4791d585eb21d.tar.gz
Comment out non ANSI C standard comliant code. Fixes win32 build.
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
-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) { \