aboutsummaryrefslogtreecommitdiffstats
path: root/main/xml.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-17 16:25:10 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-17 16:25:10 +0000
commitd32b7ae7b15210f30bd41cc5b23f869904b3a0ca (patch)
tree333de497308ab37a5160fea3e6aefad4b665b01b /main/xml.c
parent493dabadd36f18340f2f303dec3b208c72d65439 (diff)
Define our desires for POSIX and X/OPEN API features properly.
Based on a post on the gcc-help mailing list and some subsequent reading, we can increase our portability to various platforms by directly defining the POSIX and X/OPEN API feature sets we wish to have available. This patch does that, and also includes a double-check to ensure that the system we are compiling on can actually provide the requested feature sets. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@212463 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/xml.c')
-rw-r--r--main/xml.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/main/xml.c b/main/xml.c
index 54da9fef5..36e7dd812 100644
--- a/main/xml.c
+++ b/main/xml.c
@@ -27,9 +27,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#if defined(HAVE_LIBXML2)
-#ifndef _POSIX_C_SOURCE /* Needed on Mac OS X */
-#define _POSIX_C_SOURCE 200112L
-#endif
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xinclude.h>