PR: 2717
[openssl.git] / apps / apps.c
index 9eff4efb50b6ac97e6b03cdd3b26aa9bdce73381..25e501b594bb794b5a541b9d43ea01f2bbb7898c 100644 (file)
  *
  */
 
  *
  */
 
-#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
                                   the declaration of fileno().  The value
                                   2 is to make sure no function defined
 #define _POSIX_C_SOURCE 2      /* On VMS, you need to define this to get
                                   the declaration of fileno().  The value
                                   2 is to make sure no function defined