Force the use of our indent profile
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 1d27b63d068d2ca424b0d9cb9bf8716c6d608f63..bc105fbe69495189ddb90c30db07c835015cd449 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -185,19 +185,6 @@ extern "C" {
 #define writesocket(s,b,n)     write((s),(b),(n))
 #endif
 
-#ifdef WIN16 /* never the case */
-#  define MS_CALLBACK  _far _loadds
-#  define MS_FAR       _far
-#else
-#  define MS_CALLBACK
-#  define MS_FAR
-#endif
-
-#ifdef OPENSSL_NO_STDIO
-#  undef OPENSSL_NO_FP_API
-#  define OPENSSL_NO_FP_API
-#endif
-
 #if (defined(WINDOWS) || defined(MSDOS))
 
 #  ifdef __DJGPP__
@@ -345,11 +332,13 @@ static __inline unsigned int _strlen31(const char *str)
 #    define DEFAULT_HOME  "C:"
 #  endif
 
-/* Avoid Windows 8 SDK GetVersion deprecated problems */
+/* Avoid Visual Studio 13 GetVersion deprecated problems */
 #if defined(_MSC_VER) && _MSC_VER>=1800
 #  define check_winnt() (1)
+#  define check_win_minplat(x) (1)
 #else
 #  define check_winnt() (GetVersion() < 0x80000000)
+#  define check_win_minplat(x) (LOBYTE(LOWORD(GetVersion())) >= (x))
 #endif
 
 #else /* The non-microsoft world */
@@ -626,13 +615,6 @@ extern char *sys_errlist[]; extern int sys_nerr;
 
 /***********************************************/
 
-#ifdef sgi
-#define IRIX_CC_BUG    /* all version of IRIX I've tested (4.* 5.*) */
-#endif
-#ifdef OPENSSL_SYS_SNI
-#define IRIX_CC_BUG    /* CDS++ up to V2.0Bsomething suffered from the same bug.*/
-#endif
-
 #if defined(OPENSSL_SYS_WINDOWS)
 #  define strcasecmp _stricmp
 #  define strncasecmp _strnicmp