diff options
author | Wez Furlong <wez@php.net> | 2005-02-07 00:02:51 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-02-07 00:02:51 +0000 |
commit | 7279fe8ab0a223ce5cc1b3bb12e93efb15d36848 (patch) | |
tree | 5da808884e66ce460eebde45ff07e2a7860d9809 | |
parent | 61981912f8f2000f5c05bb566a9be378db7982f2 (diff) | |
download | php-git-7279fe8ab0a223ce5cc1b3bb12e93efb15d36848.tar.gz |
centralize this define
-rwxr-xr-x | ext/pdo_odbc/pdo_odbc.c | 9 | ||||
-rwxr-xr-x | ext/pdo_odbc/php_pdo_odbc_int.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/ext/pdo_odbc/pdo_odbc.c b/ext/pdo_odbc/pdo_odbc.c index b9ab10a5f8..6b351c9dd4 100755 --- a/ext/pdo_odbc/pdo_odbc.c +++ b/ext/pdo_odbc/pdo_odbc.c @@ -30,15 +30,6 @@ #include "php_pdo_odbc.h" #include "php_pdo_odbc_int.h" -#ifdef PHP_WIN32 -# define PDO_ODBC_TYPE "Win32" -#endif - -#ifndef PDO_ODBC_TYPE -# warning Please fix configure to give your ODBC libraries a name -# define PDO_ODBC_TYPE "Unknown" -#endif - /* {{{ pdo_odbc_functions[] */ function_entry pdo_odbc_functions[] = { {NULL, NULL, NULL} diff --git a/ext/pdo_odbc/php_pdo_odbc_int.h b/ext/pdo_odbc/php_pdo_odbc_int.h index a4d473e3b8..7d8842657b 100755 --- a/ext/pdo_odbc/php_pdo_odbc_int.h +++ b/ext/pdo_odbc/php_pdo_odbc_int.h @@ -18,6 +18,15 @@ /* $Id$ */ +#ifdef PHP_WIN32 +# define PDO_ODBC_TYPE "Win32" +#endif + +#ifndef PDO_ODBC_TYPE +# warning Please fix configure to give your ODBC libraries a name +# define PDO_ODBC_TYPE "Unknown" +#endif + /* {{{ Roll a dice, pick a header at random... */ #if HAVE_SQLCLI1_H # include <sqlcli1.h> |