[evolution-data-server] Bug 744092 - Define both _BSD_SOURCE and _DEFAULT_SOURCE



commit 73ae18167b62d5499ebda457bef170ba467c5d53
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 10 17:25:18 2015 +0100

    Bug 744092 - Define both _BSD_SOURCE and _DEFAULT_SOURCE

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


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