Projet

Général

Profil

Support #32425 » patch-lasso_xml_tools.c

Set _XOPEN_SOURCE correctly. - Joao Costa, 17 avril 2019 15:57

 
1
--- lasso/xml/tools.c.orig	2019-04-17 13:47:26.000000000 +0100
2
+++ lasso/xml/tools.c	2019-04-17 13:47:53.000000000 +0100
3
@@ -28,7 +28,9 @@
4
  */
5
 #define _DEFAULT_SOURCE
6
 /* permit importation of strptime for glibc2 */
7
+#if !defined(__sun)
8
 #define _XOPEN_SOURCE
9
+#endif
10
 /* permit importation of timegm for glibc2, wait for people to complain it does not work on their
11
  * system. */
12
 #define _BSD_SOURCE