diff --git a/src/odoors/ODInEx1.c b/src/odoors/ODInEx1.c index e6a556f84a552495d33bd62b368c0cae305cd07c..7d4fbb72965939a42b2cd3222f4032312eed309d 100644 --- a/src/odoors/ODInEx1.c +++ b/src/odoors/ODInEx1.c @@ -339,6 +339,11 @@ ODAPIDEF void ODCALL od_init(void) FILE *pfDropFile=NULL; char *pointer; INT nFound = FOUND_NONE; +#ifdef _WIN32 + float forcefloats; + + forcefloats=1.1; +#endif /* Log function entry if running in trace mode. */ TRACE(TRACE_API, "od_init()"); diff --git a/src/odoors/ODPrntf.c b/src/odoors/ODPrntf.c index 96814265266bc17eca604404fe87e6298be382a0..a1c6d67b4d45b183d6f009a1b4f2d19e683b5da3 100644 --- a/src/odoors/ODPrntf.c +++ b/src/odoors/ODPrntf.c @@ -76,9 +76,7 @@ ODAPIDEF void ODVCALL od_printf(char *pszFormat,...) char *pchStart; BOOL bNotFound; INT nCharCount; - float dummyfloat; /* Forces floating point support to be loaded */ - dummyfloat=1.1; /* Log function entry if running in trace mode. */ TRACE(TRACE_API, "od_printf()");