#ifndef HEADER_E_OS2_H
#define HEADER_E_OS2_H
+#include <openssl/opensslconf.h> /* OPENSSL_UNISTD */
+
#ifdef __cplusplus
extern "C" {
#endif
+#ifdef MSDOS
+# define OPENSSL_UNISTD_IO <io.h>
+# define OPENSSL_DECLARE_EXIT extern void exit(int);
+#else
+# define OPENSSL_UNISTD_IO OPENSSL_UNISTD
+# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
+#endif
+
/* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN,
to define and declare certain global
symbols that, with some compilers under VMS, have to be defined and
# define OPENSSL_GLOBAL
#endif
-/* The above definitions should be used throughout the library,
- * but as long as EXTERN and GLOBAL occur there, we keep the following
- * definitions, too: */
-#if defined(VMS) && !defined(__DECC)
-# define EXTERN globalref
-# define GLOBAL globaldef
-#else
-# define EXTERN extern
-# define GLOBAL
-#endif
-
-
#ifdef __cplusplus
}
#endif