diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-20 13:59:50 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-20 14:01:10 +0200 |
commit | 85104fae379a6bebcd8599d62efe6f96de3728ea (patch) | |
tree | 70a3165efdafe8caaa85ab8a6359a12146e4f6fb /ext/odbc | |
parent | 24de4274f31ede6b4f25b8c0e956bbca6464279e (diff) | |
download | php-git-85104fae379a6bebcd8599d62efe6f96de3728ea.tar.gz |
Fix [-Wundef] warning in ODBC extension
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/php_odbc.c | 2 | ||||
-rw-r--r-- | ext/odbc/php_odbc.h | 2 | ||||
-rw-r--r-- | ext/odbc/php_odbc_includes.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 368f37fd88..b1594150a6 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -34,7 +34,7 @@ #include "php_globals.h" #include "odbc_arginfo.h" -#if HAVE_UODBC +#ifdef HAVE_UODBC #include <fcntl.h> #include "ext/standard/head.h" diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h index 93a1659400..a7c34c7bb2 100644 --- a/ext/odbc/php_odbc.h +++ b/ext/odbc/php_odbc.h @@ -19,7 +19,7 @@ #ifndef PHP_ODBC_H #define PHP_ODBC_H -#if HAVE_UODBC +#ifdef HAVE_UODBC #ifdef ZTS #include "TSRM.h" diff --git a/ext/odbc/php_odbc_includes.h b/ext/odbc/php_odbc_includes.h index 5e2e83e7b2..1d7da73528 100644 --- a/ext/odbc/php_odbc_includes.h +++ b/ext/odbc/php_odbc_includes.h @@ -19,7 +19,7 @@ #ifndef PHP_ODBC_INCLUDES_H #define PHP_ODBC_INCLUDES_H -#if HAVE_UODBC +#ifdef HAVE_UODBC /* checking in the same order as in configure.ac */ |