Author: ahristov
Date: 2007-10-04 16:13:38 +0200 (Thu, 04 Oct 2007)
New Revision: 1080
Modified:
trunk/mysqlnd/mysqlnd_debug.h
Log:
Try to workaround windows
Modified: trunk/mysqlnd/mysqlnd_debug.h
===================================================================
--- trunk/mysqlnd/mysqlnd_debug.h 2007-10-04 11:03:47 UTC (rev 1079)
+++ trunk/mysqlnd/mysqlnd_debug.h 2007-10-04 14:13:38 UTC (rev 1080)
@@ -91,15 +91,13 @@
#else
-#define DBG_INF(msg)
-#define DBG_ERR(msg)
-#define DBG_INF_FMT(...)
-#define DBG_ERR_FMT(...)
-
-#define DBG_ENTER(func_name)
+static inline void DBG_INF(char *msg) {}
+static inline void DBG_ERR(char *msg) {}
+static inline void DBG_INF_FMT(char *format, ...) {}
+static inline void DBG_ERR_FMT(char *format, ...) {}
+static inline void DBG_ENTER(char *func_name) {}
#define DBG_RETURN(value) return (value)
#define DBG_VOID_RETURN return;
-
#endif
| Thread |
|---|
| • PHP mysqlnd svn commit: r1080 - trunk/mysqlnd | ahristov | 4 Oct |