summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/odbc/php_odbc.c2
-rw-r--r--ext/odbc/php_odbc.h2
-rw-r--r--ext/odbc/php_odbc_includes.h2
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 */