From 7dac383e885e39c09b08542cfbd017fa45597ff2 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 6 Jul 2017 23:40:55 +0200 Subject: Fixed compilation warnings as _BSD_SOURCE has been deprecated in favor of _DEFAULT_SOURCE. --- ChangeLog | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5389446..0f43f56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 17-07-06 Cyrille Bagard + * configure.ac: + Fix compilation warnings as _BSD_SOURCE has been deprecated in favor + of _DEFAULT_SOURCE. + +17-07-06 Cyrille Bagard + * 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) -- cgit v0.11.2-87-g4458