Recognise DEC C++ as equivalent to DEC C for the definitions of OPENSSL_EXTERN and...
authorRichard Levitte <levitte@openssl.org>
Sat, 6 Apr 2002 11:37:07 +0000 (11:37 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 6 Apr 2002 11:37:07 +0000 (11:37 +0000)
Submitted by Compaq.

e_os2.h

diff --git a/e_os2.h b/e_os2.h
index 5a25ac7cf6e2ab775ec10cbc1ea93b237a5d264c..3d1dec1cfa24ee523694fc808006c70a0cfea6f2 100644 (file)
--- a/e_os2.h
+++ b/e_os2.h
@@ -23,7 +23,7 @@ extern "C" {
    declared explicitely with globaldef and globalref.  On other OS:es,
    these macros are defined with something sensible. */
 
-#if defined(VMS) && !defined(__DECC)
+#if defined(VMS) && !defined(__DECC) && !defined(__DECCXX)
 # define OPENSSL_EXTERN globalref
 # define OPENSSL_GLOBAL globaldef
 #else