mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@215800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user