summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5389446..0f43f56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
17-07-06 Cyrille Bagard <nocbos@gmail.com>
+ * configure.ac:
+ Fix compilation warnings as _BSD_SOURCE has been deprecated in favor
+ of _DEFAULT_SOURCE.
+
+17-07-06 Cyrille Bagard <nocbos@gmail.com>
+
* src/gtkext/easygtk.c:
* src/gtkext/easygtk.h:
Provide a way to scroll a tree view to a given point.
diff --git a/configure.ac b/configure.ac
index 6bee3f4..fbf9bd4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,7 +180,7 @@ AC_SUBST(WARNING_FLAGS)
# _ISOC99_SOURCE: INFINITY; NAN
# GTK_DISABLE_DEPRECATED: on reste conforme au C99
#COMPLIANCE_FLAGS="-D_BSD_SOURCE -D_GNU_SOURCE -DGTK_DISABLE_DEPRECATED"
-COMPLIANCE_FLAGS="-D_BSD_SOURCE -D_GNU_SOURCE"
+COMPLIANCE_FLAGS="-D_DEFAULT_SOURCE -D_GNU_SOURCE"
AC_SUBST(COMPLIANCE_FLAGS)