mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
fix ubuntu precise mingw math.h problems
This commit is contained in:
parent
ce1a5f5c28
commit
d47fcdc349
@ -8,7 +8,6 @@
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
#include "math.h"
|
||||
#include "stdlib.h"
|
||||
#include "time.h"
|
||||
#include "string.h"
|
||||
@ -19,6 +18,11 @@
|
||||
#include "fcntl.h"
|
||||
#include "ctype.h"
|
||||
|
||||
// Make sure M_* constants (in particular M_E) are exposed in math.h.
|
||||
// This was a problem on the default mingw install on ubuntu precise
|
||||
#undef __STRICT_ANSI__
|
||||
#include "math.h"
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
|
||||
#include "windows.h"
|
||||
|
Loading…
Reference in New Issue
Block a user