summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-15 13:26:11 +0000
committerBodo Möller <bodo@openssl.org>1999-05-15 13:26:11 +0000
commitfa470a84a026208d07167f90cfa83834140305ae (patch)
tree97492e5a9b9d03e564144f59c5497df3ba124215 /e_os.h
parent2a4a0a340d507d0c64c842d669c37fbe263f3f60 (diff)
e_os2.h is used for things that must be visible when external applications
use (certain parts of) OpenSSL.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/e_os.h b/e_os.h
index 01a9c9402a..f480f6223e 100644
--- a/e_os.h
+++ b/e_os.h
@@ -59,6 +59,11 @@
#ifndef HEADER_E_OS_H
#define HEADER_E_OS_H
+#include <openssl/e_os2.h>
+/* <openssl/e_os2.h> contains what we can justify to make visible
+ * to the outside. e_os.h shouldn't even be in the include/openssl
+ * directory, these are just local definitions. */
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -242,17 +247,6 @@ extern "C" {
#endif
-/* Definitions of GLOBAL and EXTERN, to define and declare certain global
- symbols that, with some compilers under VMS, have to be defined and
- declared explicitely with globaldef and globalref. On other OS:es,
- these macros are defined with something sensible. */
-#if defined(VMS) && !defined(__DECC)
-#define EXTERN globalref
-#define GLOBAL globaldef
-#else
-#define EXTERN extern
-#define GLOBAL
-#endif
/*************/