diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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) |