| 
									
										
										
										
											1999-05-15 21:24:16 +08:00
										 |  |  | /* e_os2.h */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef HEADER_E_OS2_H
 | 
					
						
							|  |  |  | #define HEADER_E_OS2_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef  __cplusplus
 | 
					
						
							|  |  |  | extern "C" { | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1999-06-09 21:23:38 +08:00
										 |  |  | #include <openssl/opensslconf.h> /* OPENSSL_UNISTD */
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #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
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1999-05-15 21:24:16 +08:00
										 |  |  | /* 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 | 
					
						
							|  |  |  |    declared explicitely with globaldef and globalref.  On other OS:es, | 
					
						
							|  |  |  |    these macros are defined with something sensible. */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #if defined(VMS) && !defined(__DECC)
 | 
					
						
							|  |  |  | # define OPENSSL_EXTERN globalref
 | 
					
						
							|  |  |  | # define OPENSSL_GLOBAL globaldef
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | # define OPENSSL_EXTERN extern
 | 
					
						
							|  |  |  | # define OPENSSL_GLOBAL
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef  __cplusplus
 | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 |