mirror of https://github.com/OpenMW/openmw.git
Fix build on Windows
Use wrapper header over Windows.h to undefine far and near in a single place.pull/3226/head
parent
f99f818c0c
commit
0dcb1f5aac
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef OPENMW_COMPONENTS_WINDOWS_H
|
||||||
|
#define OPENMW_COMPONENTS_WINDOWS_H
|
||||||
|
|
||||||
|
#include <Windows.h>
|
||||||
|
|
||||||
|
#undef far
|
||||||
|
#undef near
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue