Skip to content

Commit 05a8f12

Browse files
committed
Fix [-Wundef] warning in PDO ODBC extension
1 parent 9e0171f commit 05a8f12

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

ext/pdo_odbc/php_pdo_odbc_int.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,74 +24,74 @@
2424
#endif
2525

2626
/* {{{ Roll a dice, pick a header at random... */
27-
#if HAVE_SQLCLI1_H
27+
#ifdef HAVE_SQLCLI1_H
2828
# include <sqlcli1.h>
2929
# if defined(DB268K) && HAVE_LIBRARYMANAGER_H
3030
# include <LibraryManager.h>
3131
# endif
3232
#endif
3333

34-
#if HAVE_ODBC_H
34+
#ifdef HAVE_ODBC_H
3535
# include <odbc.h>
3636
#endif
3737

38-
#if HAVE_IODBC_H
38+
#ifdef HAVE_IODBC_H
3939
# include <iodbc.h>
4040
#endif
4141

42-
#if HAVE_SQLUNIX_H && !defined(PHP_WIN32)
42+
#if defined(HAVE_SQLUNIX_H) && !defined(PHP_WIN32)
4343
# include <sqlunix.h>
4444
#endif
4545

46-
#if HAVE_SQLTYPES_H
46+
#ifdef HAVE_SQLTYPES_H
4747
# include <sqltypes.h>
4848
#endif
4949

50-
#if HAVE_SQLUCODE_H
50+
#ifdef HAVE_SQLUCODE_H
5151
# include <sqlucode.h>
5252
#endif
5353

54-
#if HAVE_SQL_H
54+
#ifdef HAVE_SQL_H
5555
# include <sql.h>
5656
#endif
5757

58-
#if HAVE_ISQL_H
58+
#ifdef HAVE_ISQL_H
5959
# include <isql.h>
6060
#endif
6161

62-
#if HAVE_SQLEXT_H
62+
#ifdef HAVE_SQLEXT_H
6363
# include <sqlext.h>
6464
#endif
6565

66-
#if HAVE_ISQLEXT_H
66+
#ifdef HAVE_ISQLEXT_H
6767
# include <isqlext.h>
6868
#endif
6969

70-
#if HAVE_UDBCEXT_H
70+
#ifdef HAVE_UDBCEXT_H
7171
# include <udbcext.h>
7272
#endif
7373

74-
#if HAVE_CLI0CORE_H
74+
#ifdef HAVE_CLI0CORE_H
7575
# include <cli0core.h>
7676
#endif
7777

78-
#if HAVE_CLI0EXT1_H
78+
#ifdef HAVE_CLI0EXT1_H
7979
# include <cli0ext.h>
8080
#endif
8181

82-
#if HAVE_CLI0CLI_H
82+
#ifdef HAVE_CLI0CLI_H
8383
# include <cli0cli.h>
8484
#endif
8585

86-
#if HAVE_CLI0DEFS_H
86+
#ifdef HAVE_CLI0DEFS_H
8787
# include <cli0defs.h>
8888
#endif
8989

90-
#if HAVE_CLI0ENV_H
90+
#ifdef HAVE_CLI0ENV_H
9191
# include <cli0env.h>
9292
#endif
9393

94-
#if HAVE_ODBCSDK_H
94+
#ifdef HAVE_ODBCSDK_H
9595
# include <odbcsdk.h>
9696
#endif
9797

0 commit comments

Comments
 (0)