Skip to content

Commit

Permalink
Because it may be needed in public header files, move the definition
Browse files Browse the repository at this point in the history
of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
  • Loading branch information
levitte committed Mar 20, 2003
1 parent b246686 commit d4a47a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ extern "C" {
#endif

#ifdef WIN16
# define OPENSSL_NO_FP_API
# define MS_CALLBACK _far _loadds
# define MS_FAR _far
#else
Expand All @@ -193,6 +192,7 @@ extern "C" {
#endif

#ifdef OPENSSL_NO_STDIO
# undef OPENSSL_NO_FP_API
# define OPENSSL_NO_FP_API
#endif

Expand Down
1 change: 1 addition & 0 deletions e_os2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4a47a5

Please sign in to comment.