summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--THANKS1
-rw-r--r--libguile/inline.h2
3 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cb71150e0..4502765a2 100644
--- a/NEWS
+++ b/NEWS
@@ -48,6 +48,7 @@ Changes in 1.8.7 (since 1.8.6)
** Fix %fast-slot-ref/set!, to avoid possible segmentation fault
** Fix MinGW build problem caused by HAVE_STRUCT_TIMESPEC confusion
** Fix build problem when scm_t_timespec is different from struct timespec
+** Fix build when compiled with -Wundef -Werror
Changes in 1.8.6 (since 1.8.5)
diff --git a/THANKS b/THANKS
index a0fbb8ea2..1d90462ee 100644
--- a/THANKS
+++ b/THANKS
@@ -36,6 +36,7 @@ For fixes or providing information which led to a fix:
Nils Durner
John W Eaton
Clinton Ebadi
+ David Fang
Charles Gagnon
Peter Gavin
Eric Gillespie, Jr
diff --git a/libguile/inline.h b/libguile/inline.h
index f3c76b5e2..6fbde7910 100644
--- a/libguile/inline.h
+++ b/libguile/inline.h
@@ -54,7 +54,7 @@
C99 mode and doesn't define `__GNUC_STDC_INLINE__'. Fall back to "static
inline" in that case. */
-# if (defined __GNUC__) && (!(__APPLE_CC__ > 5400 && __STDC_VERSION__ >= 199901L))
+# if (defined __GNUC__) && (!(((defined __APPLE_CC__) && (__APPLE_CC__ > 5400)) && __STDC_VERSION__ >= 199901L))
# define SCM_C_USE_EXTERN_INLINE 1
# if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2)
# define SCM_C_EXTERN_INLINE \