Module: sip-router
Branch: master
Commit: cabd988384344a485377b817da4dc49ab0151a91
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cabd988384344a485377b817da4dc49ab0151a91

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Mon Aug  3 15:54:54 2009 +0200

presence_xml: define _DARWIN_C_SOURCE 1

- compile the module on darwin, workaround for strptime

---

 modules_k/presence_xml/pidf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules_k/presence_xml/pidf.c b/modules_k/presence_xml/pidf.c
index 36eb2a5..95b0a47 100644
--- a/modules_k/presence_xml/pidf.c
+++ b/modules_k/presence_xml/pidf.c
@@ -41,6 +41,7 @@
        #define _BSD_SOURCE 1                           /* needed on linux to 
"fix" the effect
                                                                                
  of the above define on
                                                                                
  features.h/unistd.h syscall() */
+   #define _DARWIN_C_SOURCE 1
 #else
        #define _XOPEN_SOURCE_EXTENDED 1   /* solaris */
 #endif


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to