summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-07-06 21:40:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-07-06 21:40:55 (GMT)
commit7dac383e885e39c09b08542cfbd017fa45597ff2 (patch)
tree229261e9f4b9a26d15259960b97ec558cfba08bf
parentb4f47417b8bc7b7e97b1e60a35663d99155a92c2 (diff)
Fixed compilation warnings as _BSD_SOURCE has been deprecated in favor of _DEFAULT_SOURCE.
-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)