Merge pull request #317 from joshuawarner32/cmake-vs

Get cmake build working with visual studio 2013
This commit is contained in:
Joel Dice
2014-07-31 08:16:48 -06:00
20 changed files with 117 additions and 194 deletions

View File

@ -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"