aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-03 03:30:42 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-03 03:30:42 +0000
commitf57de52c60bd23e7df867db676b796e233dfe14d (patch)
tree0f9fdf01b25a79418a6140a8c80ee9f3e37911b6 /include
parentcfc9e686448a7d3fe41a7df09b4001985883b797 (diff)
Revert attempt to standardize with _POSIX_C_SOURCE.
This did not function in the way that was intended, causing more compatibility issues than it solved. It is best, therefore, that it be simply removed. (Discussed with kpfleming; agreement to remove was reached.) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@215800 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index b7a79bd35..8019acc02 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -20,25 +20,6 @@
#include "asterisk/autoconfig.h"
-#if !defined(__Darwin__) && !defined(__OpenBSD__)
-
-#define _POSIX_C_SOURCE 200112L
-#define _XOPEN_SOURCE 600
-
-#include <unistd.h>
-
-#if _POSIX_VERSION < 200112L
-#error System does not support POSIX version 200112.
-#endif
-
-/* It is not clear if we need this version check at this time.
-#if _XOPEN_VERSION < 600
-#error System does not support XOPEN version 600.
-#endif
-*/
-
-#endif /* !__Darwin__ && !__OpenBSD__ */
-
#if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE) && defined(MALLOC_DEBUG)
#include "asterisk/astmm.h"
#endif