the EPICS build system isnow defining _EXTENSIONS_ on Solaris

This commit is contained in:
Jeff Hill
2003-01-06 18:09:35 +00:00
parent f0ccd685ad
commit 9046d5f13c

View File

@@ -18,18 +18,6 @@
* Date: 080791
*/
/*
* Under solaris if dont define _POSIX_C_SOURCE or _XOPEN_SOURCE
* then none of the POSIX stuff (such as signals or pipes) can be used
* with cc -v. However if one of _POSIX_C_SOURCE or _XOPEN_SOURCE
* are defined then we cant use the socket library. Therefore I
* have been adding the following in order to use POSIX signals
* and also sockets on solaris with cc -v. What a pain....
*/
#if defined(SOLARIS)
#define __EXTENSIONS__
#endif
#include <stdlib.h>
#include <string.h>
#include <errno.h>