]> granicus.if.org Git - php/commitdiff
These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519
authorfoobar <sniper@php.net>
Fri, 3 Aug 2001 05:07:22 +0000 (05:07 +0000)
committerfoobar <sniper@php.net>
Fri, 3 Aug 2001 05:07:22 +0000 (05:07 +0000)
ext/odbc/php_odbc.h

index cea272f08ab565d9e54ee23b61d5b8a50a0e5720..df599553bd833ba6fcf9a159dd4d213681295910 100644 (file)
@@ -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>