e_os2.h revision 55714
1228731Smav/* e_os2.h */ 2247463Smav 3228731Smav#ifndef HEADER_E_OS2_H 4228731Smav#define HEADER_E_OS2_H 5228731Smav 6228731Smav#ifdef __cplusplus 7228731Smavextern "C" { 8228731Smav#endif 9228731Smav 10228731Smav#include <openssl/opensslconf.h> /* OPENSSL_UNISTD */ 11228731Smav 12228731Smav#ifdef MSDOS 13228731Smav# define OPENSSL_UNISTD_IO <io.h> 14228731Smav# define OPENSSL_DECLARE_EXIT extern void exit(int); 15228731Smav#else 16228731Smav# define OPENSSL_UNISTD_IO OPENSSL_UNISTD 17228731Smav# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */ 18228731Smav#endif 19228731Smav 20228731Smav/* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN, 21228731Smav to define and declare certain global 22228731Smav symbols that, with some compilers under VMS, have to be defined and 23228731Smav declared explicitely with globaldef and globalref. On other OS:es, 24228731Smav these macros are defined with something sensible. */ 25228731Smav 26228731Smav#if defined(VMS) && !defined(__DECC) 27266347Sian# define OPENSSL_EXTERN globalref 28228731Smav# define OPENSSL_GLOBAL globaldef 29228731Smav#else 30228731Smav# define OPENSSL_EXTERN extern 31228731Smav# define OPENSSL_GLOBAL 32228731Smav#endif 33228731Smav 34228731Smav#ifdef __cplusplus 35228731Smav} 36228731Smav#endif 37228731Smav#endif 38228731Smav 39247463Smav