From 7279fe8ab0a223ce5cc1b3bb12e93efb15d36848 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 7 Feb 2005 00:02:51 +0000 Subject: [PATCH] centralize this define --- ext/pdo_odbc/pdo_odbc.c | 9 --------- 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 -- 2.50.1