fix compiling on MacOS

This commit is contained in:
milek
2019-03-25 20:17:27 +00:00
parent 1fba251baf
commit 810ea151e2
3 changed files with 12 additions and 2 deletions

View File

@@ -6,6 +6,12 @@
#ifndef STDAFX_H
#define STDAFX_H
#ifdef __APPLE__
#ifndef __unix__
#define __unix__ 1
#endif
#endif
#define _USE_MATH_DEFINES
#include <cmath>
#ifdef _MSC_VER