Commit ac7821f9 authored by PeterTh's avatar PeterTh

Prevent NEAR and FAR macro definitions from leaking on Windows platforms

parent 84809db9
......@@ -32,6 +32,10 @@
#include <process.h> // _get_pid support
#include <windows.h>
// windows.h leaks NEAR and FAR macros, prevent those from leaking further
#undef NEAR
#undef FAR
#ifdef __MINGW32__
#include <share.h>
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment