summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-12-11 16:35:42 +0000
committerPierre Joye <pajoye@php.net>2009-12-11 16:35:42 +0000
commitaf206a90aee17ca879c309a25ca70b3512f4bb03 (patch)
treea757d920901c0fe8c626a47db0419d1028275b62 /ext/pdo_mysql/php_pdo_mysql_int.h
parenta2cf15fcc6d27f6f4113cb4f08121241877d28ba (diff)
downloadphp-git-af206a90aee17ca879c309a25ca70b3512f4bb03.tar.gz
- fix build, come on, it is not that hard to test before commit, is it?
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 1f9f05ce54..0ee285f8f1 100755
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -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);