]> git.jsancho.org Git - lugaru.git/commit
mingw32: Fix issues with WIN32 not being defined
authorRémi Verschelde <rverschelde@gmail.com>
Mon, 14 Nov 2016 21:45:53 +0000 (22:45 +0100)
committerRémi Verschelde <rverschelde@gmail.com>
Mon, 14 Nov 2016 21:45:53 +0000 (22:45 +0100)
commitc37122c24359588ba80e02599ac98eddc44b6a34
tree3aa7774b31bf2e7b8a1648995b6a739642959da1
parent454beca4a2d0a4225e492955cef849ce1a85b0fd
mingw32: Fix issues with WIN32 not being defined

Not sure if that is the proper fix, but it does the trick for my toolchain.
An alternative might be to do s/WIN32/_WIN32/g, but I lack experience here.

Also fixed abs() redefinitions that conflicted with mingw's cmath.
CMakeLists.txt
Source/WinDefs.h