diff options
author | Richard Levitte <levitte@openssl.org> | 2005-05-21 17:39:43 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-05-21 17:39:43 +0000 |
commit | fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6 (patch) | |
tree | 0622ee9caa7d93452c4370eb2900b1625dd92593 /ssl | |
parent | e4c9b85e65b6d5f0394ae122e0534de9a8becad5 (diff) |
When _XOPEN_SOURCE is defined, make sure it's defined to 500. Required in
http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html.
Notified by David Wolfe <dwolfe5272@yahoo.com>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/kssl.c | 2 | ||||
-rw-r--r-- | ssl/ssltest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c index 49602bb878..b8192cdfc7 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -68,7 +68,7 @@ #include <openssl/opensslconf.h> -#define _XOPEN_SOURCE /* glibc2 needs this to declare strptime() */ +#define _XOPEN_SOURCE 500 /* glibc2 needs this to declare strptime() */ #include <time.h> #undef _XOPEN_SOURCE /* To avoid clashes with anything else... */ #include <string.h> diff --git a/ssl/ssltest.c b/ssl/ssltest.c index f8e86c3ceb..e47af50a4b 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -128,7 +128,7 @@ #define USE_SOCKETS #include "e_os.h" -#define _XOPEN_SOURCE 1 /* Or isascii won't be declared properly on +#define _XOPEN_SOURCE 500 /* Or isascii won't be declared properly on VMS (at least with DECompHP C). */ #include <ctype.h> |