Skip to content
Snippets Groups Projects
Commit 7122c6d2 authored by deuce's avatar deuce
Browse files

Move float-forcing stuff into od_init... and make it Win32 only.

parent 57e26110
No related branches found
No related tags found
No related merge requests found
...@@ -339,6 +339,11 @@ ODAPIDEF void ODCALL od_init(void) ...@@ -339,6 +339,11 @@ ODAPIDEF void ODCALL od_init(void)
FILE *pfDropFile=NULL; FILE *pfDropFile=NULL;
char *pointer; char *pointer;
INT nFound = FOUND_NONE; INT nFound = FOUND_NONE;
#ifdef _WIN32
float forcefloats;
forcefloats=1.1;
#endif
/* Log function entry if running in trace mode. */ /* Log function entry if running in trace mode. */
TRACE(TRACE_API, "od_init()"); TRACE(TRACE_API, "od_init()");
......
...@@ -76,9 +76,7 @@ ODAPIDEF void ODVCALL od_printf(char *pszFormat,...) ...@@ -76,9 +76,7 @@ ODAPIDEF void ODVCALL od_printf(char *pszFormat,...)
char *pchStart; char *pchStart;
BOOL bNotFound; BOOL bNotFound;
INT nCharCount; INT nCharCount;
float dummyfloat; /* Forces floating point support to be loaded */
dummyfloat=1.1;
/* Log function entry if running in trace mode. */ /* Log function entry if running in trace mode. */
TRACE(TRACE_API, "od_printf()"); TRACE(TRACE_API, "od_printf()");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment