e_os2.h revision 55714
155714Skris/* e_os2.h */ 255714Skris 355714Skris#ifndef HEADER_E_OS2_H 455714Skris#define HEADER_E_OS2_H 555714Skris 655714Skris#ifdef __cplusplus 755714Skrisextern "C" { 855714Skris#endif 955714Skris 1055714Skris#include <openssl/opensslconf.h> /* OPENSSL_UNISTD */ 1155714Skris 1255714Skris#ifdef MSDOS 1355714Skris# define OPENSSL_UNISTD_IO <io.h> 1455714Skris# define OPENSSL_DECLARE_EXIT extern void exit(int); 1555714Skris#else 1655714Skris# define OPENSSL_UNISTD_IO OPENSSL_UNISTD 1755714Skris# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */ 1855714Skris#endif 1955714Skris 2055714Skris/* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN, 2155714Skris to define and declare certain global 2255714Skris symbols that, with some compilers under VMS, have to be defined and 2355714Skris declared explicitely with globaldef and globalref. On other OS:es, 2455714Skris these macros are defined with something sensible. */ 2555714Skris 2655714Skris#if defined(VMS) && !defined(__DECC) 2755714Skris# define OPENSSL_EXTERN globalref 2855714Skris# define OPENSSL_GLOBAL globaldef 2955714Skris#else 3055714Skris# define OPENSSL_EXTERN extern 3155714Skris# define OPENSSL_GLOBAL 3255714Skris#endif 3355714Skris 3455714Skris#ifdef __cplusplus 3555714Skris} 3655714Skris#endif 3755714Skris#endif 3855714Skris 39