summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-08-03 05:07:22 +0000
committerfoobar <sniper@php.net>2001-08-03 05:07:22 +0000
commit85e15deabe2746a3c7a280dd32a41af7b8827e8a (patch)
treeb02b3273e83972c2d5930758b12997726a92e1f3 /ext/odbc/php_odbc.h
parent25076098c07c9c79b44d022e4e1ec450cffea773 (diff)
downloadphp-git-85e15deabe2746a3c7a280dd32a41af7b8827e8a.tar.gz
These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519
Diffstat (limited to 'ext/odbc/php_odbc.h')
-rw-r--r--ext/odbc/php_odbc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h
index cea272f08a..df599553bd 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -108,6 +108,14 @@ PHP_FUNCTION(solid_fetch_prev);
#elif defined(HAVE_UNIXODBC) /* unixODBC library */
+#ifdef CHAR
+#undef CHAR
+#endif
+
+#ifdef SQLCHAR
+#undef SQLCHAR
+#endif
+
#define ODBC_TYPE "unixODBC"
#include <sql.h>
#include <sqlext.h>