diff options
author | Andy Polyakov <appro@openssl.org> | 2004-01-27 22:06:48 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-01-27 22:06:48 +0000 |
commit | 6df617a59da15286014abe03f9d3b5e2d9835d3d (patch) | |
tree | 2c0e0cd45a760b423c895a2cfac1df288abbfab9 /crypto/ui | |
parent | 8c6336b0aac8c34584116d2c05b6d828dc9d8ae6 (diff) |
#undef _POSIX_C_SOURCE in ui_openssl.c ruined IRIX builds. Comment on why
_POSIX_C_SOURCE needed in first place.
Diffstat (limited to 'crypto/ui')
-rw-r--r-- | crypto/ui/ui_openssl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c index fad17024a0..7c80f5feb2 100644 --- a/crypto/ui/ui_openssl.c +++ b/crypto/ui/ui_openssl.c @@ -117,10 +117,14 @@ #include <openssl/e_os2.h> +/* need for #define _POSIX_C_SOURCE arises whenever you pass -ansi to gcc + * [maybe others?], because it masks interfaces not discussed in standard, + * sigaction and fileno included. -pedantic would be more appropriate for + * the intended purposes, but we can't prevent users from adding -ansi. + */ #define _POSIX_C_SOURCE 1 #include <signal.h> #include <stdio.h> -#undef _POSIX_C_SOURCE #include <string.h> #include <errno.h> |