diff options
author | Andy Polyakov <appro@openssl.org> | 2005-12-18 19:11:37 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-12-18 19:11:37 +0000 |
commit | be7b4458f226a9c8052efa4bb7b61dc4fc0c5353 (patch) | |
tree | 6842610954401d9560e4af8c18839574085cf7cc /e_os.h | |
parent | 7304956e39ae710d07e4691d3215c5c5db7181b5 (diff) | |
download | openssl-be7b4458f226a9c8052efa4bb7b61dc4fc0c5353.tar.gz |
Keep disclaiming 16-bit platform support. For now remove WIN16 references
from .h files...
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 24 |
1 files changed, 2 insertions, 22 deletions
@@ -123,9 +123,6 @@ extern "C" { #if defined(OPENSSL_SYS_WIN32) && !defined(WIN32) # define WIN32 #endif -#if defined(OPENSSL_SYS_WIN16) && !defined(WIN16) -# define WIN16 -#endif #if defined(OPENSSL_SYS_WINDOWS) && !defined(WINDOWS) # define WINDOWS #endif @@ -203,7 +200,7 @@ extern "C" { #define writesocket(s,b,n) write((s),(b),(n)) #endif -#ifdef WIN16 +#ifdef WIN16 /* never the case */ # define MS_CALLBACK _far _loadds # define MS_FAR _far #else @@ -295,12 +292,7 @@ static unsigned int _strlen31(const char *str) # define _kbhit kbhit # endif -# if defined(WIN16) && defined(SSLEAY) && defined(_WINEXITNOPERSIST) -# define EXIT(n) _wsetexit(_WINEXITNOPERSIST) -# define OPENSSL_EXIT(n) do { if (n == 0) EXIT(n); return(n); } while(0) -# else -# define EXIT(n) exit(n) -# endif +# define EXIT(n) exit(n) # define LIST_SEPARATOR_CHAR ';' # ifndef X_OK # define X_OK 0 @@ -592,18 +584,6 @@ extern char *sys_errlist[]; extern int sys_nerr; /***********************************************/ -/* do we need to do this for getenv. - * Just define getenv for use under windows */ - -#ifdef WIN16 -/* How to do this needs to be thought out a bit more.... */ -/*char *GETENV(char *); -#define Getenv GETENV*/ -#define Getenv getenv -#else -#define Getenv getenv -#endif - #define DG_GCC_BUG /* gcc < 2.6.3 on DGUX */ #ifdef sgi |