[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 089476b5415e98
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 089476b5415e9844175a2fbf1bde6faf18ae0b61 |
Date: |
Wed, 28 Mar 2012 19:46:18 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-4.0-stable has been updated
via 089476b5415e9844175a2fbf1bde6faf18ae0b61 (commit)
from b467a6d3d604723e0c152dceb09e998c059bfa40 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=089476b5415e9844175a2fbf1bde6faf18ae0b61
commit 089476b5415e9844175a2fbf1bde6faf18ae0b61
Author: Arnold D. Robbins <address@hidden>
Date: Wed Mar 28 21:45:38 2012 +0200
Additional getopt fix, for DJGPP this time.
diff --git a/ChangeLog b/ChangeLog
index eafd8af..69a06e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-28 Arnold D. Robbins <address@hidden>
+
+ * getopt.c: Add DJGPP to list of platforms where it's ok
+ to include <stdlib.h>.
+
2012-03-21 Corinna Vinschen <address@hidden>
* getopt.c: Add Cygwin to list of platforms where it's ok
diff --git a/getopt.c b/getopt.c
index b1f854a..58df01a 100644
--- a/getopt.c
+++ b/getopt.c
@@ -58,9 +58,12 @@
/* This needs to come after some library #include
to get __GNU_LIBRARY__ defined. */
-#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__)
-/* Don't include stdlib.h for non-GNU C libraries and non-Cygwin because some
- of them contain conflicting prototypes for getopt. */
+#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(DJGPP)
+/* Don't include stdlib.h for
+ * non-GNU C libraries
+ * non-Cygwin
+ * non-DJGPP
+ * because some of them contain conflicting prototypes for getopt. */
# include <stdlib.h>
# include <unistd.h>
#endif /* GNU C library. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
getopt.c | 9 ++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 089476b5415e9844175a2fbf1bde6faf18ae0b61,
Arnold Robbins <=