Fixed _MSC_VER define

pull/21/head
Mikhail Grigorev 3 years ago
parent 240a5eaf9c
commit 3f01476487

@ -2,16 +2,14 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
#include <malloc.h> #include <malloc.h>
#include <windows.h>
#include <sys/timeb.h>
#define _USE_MATH_DEFINES
#else #else
#include <alloca.h> #include <alloca.h>
#endif #endif
#include <assert.h> #include <assert.h>
#include <time.h> #include <time.h>
#if defined(_MSC_VER)
#include <windows.h>
#include <sys/timeb.h>
#define _USE_MATH_DEFINES
#endif
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

Loading…
Cancel
Save