Fix [-Wundef] warning in MySQLnd extension

This commit is contained in:
George Peter Banyard 2020-05-17 23:10:10 +02:00
parent 82afcf4401
commit 1330359515
7 changed files with 9 additions and 9 deletions

View file

@ -22,7 +22,7 @@
#include "mysqlnd_debug.h"
/*--------------------------------------------------------------------*/
#if defined(MYSQLND_DBG_ENABLED) && MYSQLND_DBG_ENABLED == 1
#if MYSQLND_DBG_ENABLED == 1
static enum_func_status mysqlnd_example_plugin_end(void * p);
static MYSQLND_STATS * mysqlnd_plugin_example_stats = NULL;
@ -84,7 +84,7 @@ mysqlnd_example_plugin_register(void)
mysqlnd_plugin_register_ex((struct st_mysqlnd_plugin_header *) &mysqlnd_example_plugin);
}
/* }}} */
#endif /* defined(MYSQLND_DBG_ENABLED) && MYSQLND_DBG_ENABLED == 1 */
#endif /* MYSQLND_DBG_ENABLED == 1 */
/*--------------------------------------------------------------------*/
static HashTable mysqlnd_registered_plugins;