- fix build, come on, it is not that hard to test before commit, is it?

This commit is contained in:
Pierre Joye 2009-12-11 16:35:42 +00:00
parent a2cf15fcc6
commit af206a90ae
2 changed files with 9 additions and 1 deletions

View file

@ -70,6 +70,12 @@ ZEND_BEGIN_MODULE_GLOBALS(pdo_mysql)
char *debug; /* The actual string */
MYSQLND_DEBUG *dbg; /* The DBG object */
#endif
#if defined(PHP_WIN32) && !PDO_DBG_ENABLED
/* dummy member so we get at least one member in the struct
* and avoids build errors.
*/
void *dummymemmber;
#endif
ZEND_END_MODULE_GLOBALS(pdo_mysql)
ZEND_EXTERN_MODULE_GLOBALS(pdo_mysql);