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 <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $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) {
\
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php