summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-17 21:52:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-17 21:52:42 (GMT)
commit13d9910fd618b60dd7ea07505a0318fe06581469 (patch)
tree560b3504b479d1260718d6dfd83005dcb3edc993 /unix
parent277f101d7f3257acf31bc529b97cde31d3179761 (diff)
downloadtcl-13d9910fd618b60dd7ea07505a0318fe06581469.zip
tcl-13d9910fd618b60dd7ea07505a0318fe06581469.tar.gz
tcl-13d9910fd618b60dd7ea07505a0318fe06581469.tar.bz2
'#if' -> '#ifdef' in tclUnixPort.h. Suggested by Gustaf Neumann. Reduces the number of gcc warnings, when compiling Tcl with -Wundef. Harmless.
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 2728957..ba56089 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -125,11 +125,11 @@ typedef off_t Tcl_SeekOffset;
# include <sys/select.h>
#endif
#include <sys/stat.h>
-#if TIME_WITH_SYS_TIME
+#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
-#if HAVE_SYS_TIME_H
+#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#else
# include <time.h>
@@ -138,11 +138,11 @@ typedef off_t Tcl_SeekOffset;
#ifndef NO_SYS_WAIT_H
# include <sys/wait.h>
#endif
-#if HAVE_INTTYPES_H
+#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#include <limits.h>
-#if HAVE_STDINT_H
+#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H