[evolution-data-server] Replace _BSD_SOURCE with _DEFAULT_SOURCE define



commit 2c24fa820febcfa0fa443f3946c969e41795b9d1
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 2 18:02:20 2015 +0100

    Replace _BSD_SOURCE with _DEFAULT_SOURCE define
    
    To avoid compiler warning:
    /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE" [-Wcpp]
     # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"

 libedataserver/e-time-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libedataserver/e-time-utils.c b/libedataserver/e-time-utils.c
index 24e4202..1d31938 100644
--- a/libedataserver/e-time-utils.c
+++ b/libedataserver/e-time-utils.c
@@ -23,7 +23,7 @@
 #define _XOPEN_SOURCE_EXTENDED 1  /* for strptime */
 
 /* For tm_gmtoff */
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 
 #include <time.h>
 #include <sys/time.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]