From d4a47a5778fa227abc634b4ededb6e011e6e7065 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 20 Mar 2003 23:14:49 +0000 Subject: [PATCH] Because it may be needed in public header files, move the definition of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h. --- e_os.h | 2 +- e_os2.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/e_os.h b/e_os.h index f7d09c5295..f70958df87 100644 --- a/e_os.h +++ b/e_os.h @@ -184,7 +184,6 @@ extern "C" { #endif #ifdef WIN16 -# define OPENSSL_NO_FP_API # define MS_CALLBACK _far _loadds # define MS_FAR _far #else @@ -193,6 +192,7 @@ extern "C" { #endif #ifdef OPENSSL_NO_STDIO +# undef OPENSSL_NO_FP_API # define OPENSSL_NO_FP_API #endif diff --git a/e_os2.h b/e_os2.h index 81be3025f6..80ec03ee8c 100644 --- a/e_os2.h +++ b/e_os2.h @@ -201,6 +201,7 @@ extern "C" { /* Specials for I/O an exit */ #ifdef OPENSSL_SYS_MSDOS +# define OPENSSL_NO_FP_API # define OPENSSL_UNISTD_IO # define OPENSSL_DECLARE_EXIT extern void exit(int); #else -- 2.25.1