X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=e_os2.h;h=5a25ac7cf6e2ab775ec10cbc1ea93b237a5d264c;hp=2bc0b48798b1a5933a1c102adc63a439d8dcb60e;hb=499e167fda19e01d384fb093f18447b5051d5da9;hpb=e1999b1dab0d74f0779aaa63dd10bba2e48fe457 diff --git a/e_os2.h b/e_os2.h index 2bc0b48798..5a25ac7cf6 100644 --- a/e_os2.h +++ b/e_os2.h @@ -3,10 +3,20 @@ #ifndef HEADER_E_OS2_H #define HEADER_E_OS2_H +#include /* OPENSSL_UNISTD */ + #ifdef __cplusplus extern "C" { #endif +#ifdef MSDOS +# define OPENSSL_UNISTD_IO +# 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