PR: 2717
Submitted by: Tim Rice <tim@multitalents.net> Make compilation work on OpenServer 5.0.7
This commit is contained in:
parent
be81f4dd81
commit
fc7dae5229
@ -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
|
||||||
|
@ -126,11 +126,11 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(OPENSSL_SYSNAME_VXWORKS)
|
#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
|
||||||
#ifndef _POSIX_C_SOURCE
|
#ifndef _POSIX_C_SOURCE
|
||||||
#define _POSIX_C_SOURCE 2
|
#define _POSIX_C_SOURCE 2
|
||||||
#endif
|
#endif
|
||||||
#endif /* !OPENSSL_SYSNAME_VXWORKS */
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user