Cleanup some CMake msys specifics

* Exclude MSYS from -z relro
* WIN32_LEAN_AND_MEAN
This commit is contained in:
Mikhail Titov 2015-12-12 18:11:48 -06:00
parent 65f993677f
commit edd9a18257
2 changed files with 7 additions and 3 deletions

View file

@ -28,7 +28,9 @@
#include <iphlpapi.h>
#include <shlobj.h>
#ifdef _MSC_VER
#pragma comment(lib, "IPHLPAPI.lib")
#endif
#define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x))
#define FREE(x) HeapFree(GetProcessHeap(), 0, (x))