List:Commits« Previous MessageNext Message »
From:ahristov Date:August 8 2007 9:34pm
Subject:PHP mysqlnd svn commit: r867 - trunk/mysqlnd
View as plain text  
Author: ahristov
Date: 2007-08-08 23:34:15 +0200 (Wed, 08 Aug 2007)
New Revision: 867

Modified:
   trunk/mysqlnd/mysqlnd_debug.h
Log:
Fix possible build failure on win32


Modified: trunk/mysqlnd/mysqlnd_debug.h
===================================================================
--- trunk/mysqlnd/mysqlnd_debug.h	2007-08-08 20:46:14 UTC (rev 866)
+++ trunk/mysqlnd/mysqlnd_debug.h	2007-08-08 21:34:15 UTC (rev 867)
@@ -50,7 +50,7 @@
 
 MYSQLND_DEBUG *mysqlnd_debug_init(TSRMLS_D);
 
-#if PHP_DEBUG
+#if PHP_DEBUG && !defined(PHP_WIN32)
 #define DBG_INF(msg) do { if(MYSQLND_G(debug))
MYSQLND_G(debug)->m->log(MYSQLND_G(debug), -1, "info :", (msg)); } while (0)
 #define DBG_ERR(msg) do { if(MYSQLND_G(debug))
MYSQLND_G(debug)->m->log(MYSQLND_G(debug), -1, "error:", (msg)); } while (0)
 #define DBG_INF_FMT(...) do { if(MYSQLND_G(debug))
MYSQLND_G(debug)->m->log_va(MYSQLND_G(debug), -1, "info :", __VA_ARGS__); } while
(0)

Thread
PHP mysqlnd svn commit: r867 - trunk/mysqlndahristov8 Aug