Submitted by: Tim Rice <tim@multitalents.net>

Make compilation work on OpenServer 5.0.7
This commit is contained in:
Dr. Stephen Henson 2012-02-11 23:38:49 +00:00
parent cdf9d6f6ed
commit c714e43c8d
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@
* *
*/ */
#ifndef _POSIX_C_SOURCE #if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
#define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get #define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get
the declaration of fileno(). The value the declaration of fileno(). The value
2 is to make sure no function defined 2 is to make sure no function defined

View File

@ -122,7 +122,7 @@
* sigaction and fileno included. -pedantic would be more appropriate for * sigaction and fileno included. -pedantic would be more appropriate for
* the intended purposes, but we can't prevent users from adding -ansi. * the intended purposes, but we can't prevent users from adding -ansi.
*/ */
#ifndef _POSIX_C_SOURCE #if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
#define _POSIX_C_SOURCE 2 #define _POSIX_C_SOURCE 2
#endif #endif
#include <signal.h> #include <signal.h>