From 50af36a8aae73d313e3fc72d76e8640296a7e04e Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Wed, 20 May 2020 15:41:24 +0200 Subject: [PATCH] Fix [-Wundef] warning in PDO ODBC extension --- ext/pdo_odbc/php_pdo_odbc_int.h | 34 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/ext/pdo_odbc/php_pdo_odbc_int.h b/ext/pdo_odbc/php_pdo_odbc_int.h index db033b25b3..e5777943db 100644 --- a/ext/pdo_odbc/php_pdo_odbc_int.h +++ b/ext/pdo_odbc/php_pdo_odbc_int.h @@ -24,74 +24,74 @@ #endif /* {{{ Roll a dice, pick a header at random... */ -#if HAVE_SQLCLI1_H +#ifdef HAVE_SQLCLI1_H # include # if defined(DB268K) && HAVE_LIBRARYMANAGER_H # include # endif #endif -#if HAVE_ODBC_H +#ifdef HAVE_ODBC_H # include #endif -#if HAVE_IODBC_H +#ifdef HAVE_IODBC_H # include #endif -#if HAVE_SQLUNIX_H && !defined(PHP_WIN32) +#if defined(HAVE_SQLUNIX_H) && !defined(PHP_WIN32) # include #endif -#if HAVE_SQLTYPES_H +#ifdef HAVE_SQLTYPES_H # include #endif -#if HAVE_SQLUCODE_H +#ifdef HAVE_SQLUCODE_H # include #endif -#if HAVE_SQL_H +#ifdef HAVE_SQL_H # include #endif -#if HAVE_ISQL_H +#ifdef HAVE_ISQL_H # include #endif -#if HAVE_SQLEXT_H +#ifdef HAVE_SQLEXT_H # include #endif -#if HAVE_ISQLEXT_H +#ifdef HAVE_ISQLEXT_H # include #endif -#if HAVE_UDBCEXT_H +#ifdef HAVE_UDBCEXT_H # include #endif -#if HAVE_CLI0CORE_H +#ifdef HAVE_CLI0CORE_H # include #endif -#if HAVE_CLI0EXT1_H +#ifdef HAVE_CLI0EXT1_H # include #endif -#if HAVE_CLI0CLI_H +#ifdef HAVE_CLI0CLI_H # include #endif -#if HAVE_CLI0DEFS_H +#ifdef HAVE_CLI0DEFS_H # include #endif -#if HAVE_CLI0ENV_H +#ifdef HAVE_CLI0ENV_H # include #endif -#if HAVE_ODBCSDK_H +#ifdef HAVE_ODBCSDK_H # include #endif -- 2.50.1