Re: cvs: php4 /main php.h
| From: | Andi Gutmans | Date: | Fri, 15 Mar 2002 08:02:12 +0000 |
| Subject: | Re: cvs: php4 /main php.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-10135@lists.php.net to get a copy of this message | ||
What warnings? I fixed a redefinition warning a couple of days ago.
Andi
At 06:36 15/03/2002 +0000, Yasuo Ohgaki wrote:
yohgaki Fri Mar 15 01:36:56 2002 EDTModified files:/php4/main php.hLog: Avoid warnings under VC. # If you know how assert() should be used under VC, please fix it. Index: php4/main/php.h diff -u php4/main/php.h:1.160 php4/main/php.h:1.161--- php4/main/php.h:1.160 Wed Mar 13 21:17:23 2002 +++ php4/main/php.h Fri Mar 15 01:36:56 2002@@ -17,7 +17,7 @@+----------------------------------------------------------------------+*/ -/* $Id: php.h,v 1.160 2002/03/14 02:17:23 yohgaki Exp $ */ +/* $Id: php.h,v 1.161 2002/03/15 06:36:56 yohgaki Exp $ */ #ifndef PHP_H #define PHP_H @@ -63,6 +63,7 @@ #include "php_regex.h" +#ifndef PHP_WIN32 #if HAVE_ASSERT_H #if PHP_DEBUG #undef NDEBUG @@ -73,6 +74,7 @@ #else /* HAVE_ASSERT_H */ #define assert(expr) ((void) (0)) #endif /* HAVE_ASSERT_H */ +#endif /* PHP_WIN32 */ #define APACHE 0 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php