Because it may be needed in public header files, move the definition
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:14:49 +0000 (23:14 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:14:49 +0000 (23:14 +0000)
of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.

e_os.h
e_os2.h

diff --git a/e_os.h b/e_os.h
index f7d09c52954505bc40c3c5c15ccd7cff7a158088..f70958df87cb8aab49b2401d9b9dbefe4117f25e 100644 (file)
--- 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 81be3025f602282fdf43e9569276a6d47093eeb3..80ec03ee8c9da874f51e3e7ddc14af83f79c1617 100644 (file)
--- 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 <io.h>
 # define OPENSSL_DECLARE_EXIT extern void exit(int);
 #else