summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstwo <stwo>2012-08-08 23:07:27 (GMT)
committerstwo <stwo>2012-08-08 23:07:27 (GMT)
commitf8d1f021800b7e4ee1affecce67cdcc6f2dd1a54 (patch)
treeb24768e85d2b1d7c1d27928e28cbcdf052fe27eb
parent3489422b6ee1589effd0dadf0556985e331d689b (diff)
downloadtcl-f8d1f021800b7e4ee1affecce67cdcc6f2dd1a54.zip
tcl-f8d1f021800b7e4ee1affecce67cdcc6f2dd1a54.tar.gz
tcl-f8d1f021800b7e4ee1affecce67cdcc6f2dd1a54.tar.bz2
Change one '#ifdef' to '#if defined()' for improved consistency within the file.
-rw-r--r--ChangeLog5
-rw-r--r--unix/tclUnixCompat.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cbbfea1..95a67b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-08 Stuart Cassoff <stwo@users.sourceforge.net>
+
+ * unix/tclUnixCompat.c: Change one '#ifdef' to '#if defined()' for
+ improved consistency within the file.
+
2012-08-08 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tclfileName.c: [Bug #1536227]: Cygwin network pathname
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c
index 3818121..359e253 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -364,7 +364,7 @@ TclpGetGrNam(
#else
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
-#ifdef HAVE_GETGRNAM_R_5
+#if defined(HAVE_GETGRNAM_R_5)
struct group *grPtr = NULL;
/*