From: Richard Levitte Date: Thu, 20 Mar 2003 23:14:49 +0000 (+0000) Subject: Because it may be needed in public header files, move the definition X-Git-Tag: BEN_FIPS_TEST_1~38^2~239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4a47a5778fa227abc634b4ededb6e011e6e7065;p=openssl 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. --- 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