summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-01-18 16:46:02 +0000
committerRichard Levitte <levitte@openssl.org>2005-01-18 16:46:02 +0000
commitd8863f0bdb4c9e45a725e56f8b61ccc36b026dda (patch)
treea337dcded9dc19be448919d79677462c204a4ff7
parentaddb6e16a873ee9af5bd61404459b75ed1aa7226 (diff)
downloadopenssl-new-d8863f0bdb4c9e45a725e56f8b61ccc36b026dda.tar.gz
Small thing. It seems like we have to defined _XOPEN_SOURCE to get
isascii() on DEC/Compaq/HP C for VMS.
-rw-r--r--ssl/ssltest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 1b6b4e9493..698c84a179 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -116,6 +116,8 @@
#define _BSD_SOURCE 1 /* Or gethostname won't be declared properly
on Linux and GNU platforms. */
+#define _XOPEN_SOURCE 1 /* Ot isascii won't be declared properly on
+ VMS (at least with DECompHP C). */
#include <assert.h>
#include <errno.h>