From 6113d954334c3115264f3ca83fd4791d585eb21d Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Mon, 6 Jan 2003 01:26:14 +0000 Subject: [PATCH] Comment out non ANSI C standard comliant code. Fixes win32 build. --- ext/mcrypt/mcrypt.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 9f66ce9a5d7..da782504739 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) { \