Skip to content

Commit 85e15de

Browse files
author
foobar
committed
These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519
1 parent 2507609 commit 85e15de

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ext/odbc/php_odbc.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ PHP_FUNCTION(solid_fetch_prev);
108108

109109
#elif defined(HAVE_UNIXODBC) /* unixODBC library */
110110

111+
#ifdef CHAR
112+
#undef CHAR
113+
#endif
114+
115+
#ifdef SQLCHAR
116+
#undef SQLCHAR
117+
#endif
118+
111119
#define ODBC_TYPE "unixODBC"
112120
#include <sql.h>
113121
#include <sqlext.h>

0 commit comments

Comments
 (0)