Skip to content

Commit 7ba7637

Browse files
committed
Fix [-Wundef] warning in ODBC extension
1 parent fccccf8 commit 7ba7637

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/odbc/php_odbc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "php_globals.h"
3535
#include "odbc_arginfo.h"
3636

37-
#if HAVE_UODBC
37+
#ifdef HAVE_UODBC
3838

3939
#include <fcntl.h>
4040
#include "ext/standard/head.h"

ext/odbc/php_odbc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef PHP_ODBC_H
2020
#define PHP_ODBC_H
2121

22-
#if HAVE_UODBC
22+
#ifdef HAVE_UODBC
2323

2424
#ifdef ZTS
2525
#include "TSRM.h"

ext/odbc/php_odbc_includes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef PHP_ODBC_INCLUDES_H
2020
#define PHP_ODBC_INCLUDES_H
2121

22-
#if HAVE_UODBC
22+
#ifdef HAVE_UODBC
2323

2424
/* checking in the same order as in configure.ac */
2525

0 commit comments

Comments
 (0)