summaryrefslogtreecommitdiff
path: root/main/xml.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2009-08-17 16:25:10 +0000
committerKevin P. Fleming <kpfleming@digium.com>2009-08-17 16:25:10 +0000
commit4222e1c3674a5940ac99d1602a27811ff2321ae6 (patch)
tree333de497308ab37a5160fea3e6aefad4b665b01b /main/xml.c
parent0d2ef8ac5cb624cc626539879ea070c1f6122071 (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: https://origsvn.digium.com/svn/asterisk/trunk@212463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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>