PR: 2717
[openssl.git] / crypto / ui / ui_openssl.c
index fd9c4a8169877e303bcd8bca1481de5fa3be4990..a38c7581e6a0ca10376d05fc9994f4c74a41128a 100644 (file)
 #include <sys/types.h>
 #endif
 
 #include <sys/types.h>
 #endif
 
-#if !defined(OPENSSL_SYSNAME_VXWORKS)
+#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
 #ifndef _POSIX_C_SOURCE
 #define _POSIX_C_SOURCE 2
 #endif
 #ifndef _POSIX_C_SOURCE
 #define _POSIX_C_SOURCE 2
 #endif
-#endif /* !OPENSSL_SYSNAME_VXWORKS  */
+#endif
 #include <signal.h>
 #include <stdio.h>
 #include <string.h>
 #include <signal.h>
 #include <stdio.h>
 #include <string.h>