cvs: php4 /ext/mcrypt mcrypt.c
| From: | Edin Kadribasic | Date: | Mon, 06 Jan 2003 01:26:14 +0000 |
| Subject: | cvs: php4 /ext/mcrypt mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17653@lists.php.net to get a copy of this message | ||
edink Sun Jan 5 20:26:14 2003 EDT
Modified files:
/php4/ext/mcrypt mcrypt.c
Log:
Comment out non ANSI C standard comliant code. Fixes win32 build.
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.79 php4/ext/mcrypt/mcrypt.c:1.80
--- php4/ext/mcrypt/mcrypt.c:1.79 Fri Jan 3 14:49:44 2003
+++ php4/ext/mcrypt/mcrypt.c Sun Jan 5 20:26:14 2003
@@ -16,7 +16,7 @@
| Derick Rethans <d.rethans@jdimedia.nl> |
+----------------------------------------------------------------------+
*/
-/* $Id: mcrypt.c,v 1.79 2003/01/03 19:49:44 derick Exp $ */
+/* $Id: mcrypt.c,v 1.80 2003/01/06 01:26:14 edink Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -168,8 +168,11 @@
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) { \