Module: sip-router
Branch: master
Commit: 3552f22bbe89124eedca268fcd16bc9097fbb0b1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3552f22…
Author: Jason Penton <jason.penton(a)gmail.com>
Committer: Jason Penton <jason.penton(a)gmail.com>
Date: Wed Dec 7 14:32:45 2011 +0200
xmlrpc: Removed define for Solaris compilations
- This define breaks on Solaris and is not required
---
modules/xmlrpc/xmlrpc.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index 31c0711..566e6b9 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -23,7 +23,10 @@
* Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define _XOPEN_SOURCE 4 /* strptime */
+/*This define breaks on Solaris OS */
+#ifndef __OS_solaris
+ #define _XOPEN_SOURCE 4 /* strptime */
+#endif
#define _XOPEN_SOURCE_EXTENDED 1 /* solaris */
#define _SVID_SOURCE 1 /* timegm */