Skip to content

Commit 00fd6fa

Browse files
committed
Fix [-Wundef] warning in Date extension
1 parent 7103686 commit 00fd6fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/date/lib/timelib_private.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949
# include <stdint.h>
5050
#endif
5151

52-
#if HAVE_UNISTD_H
52+
#ifdef HAVE_UNISTD_H
5353
# include <unistd.h>
5454
#endif
5555

56-
#if HAVE_IO_H
56+
#ifdef HAVE_IO_H
5757
# include <io.h>
5858
#endif
5959

60-
#if HAVE_DIRENT_H
60+
#ifdef HAVE_DIRENT_H
6161
# include <dirent.h>
6262
#endif
6363

0 commit comments

Comments
 (0)