We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a06751 + afdffd8 commit 6b96037Copy full SHA for 6b96037
1 file changed
libs/math/include/math/mat4.h
@@ -34,6 +34,14 @@
34
#define CONSTEXPR
35
#endif
36
37
+#ifdef _WIN32
38
+// windows.h contains obsolete defines of 'near' and 'far' for systems using
39
+// legacy 16 bit pointers. Undefine them to avoid conflicting with the usage of
40
+// 'near' and 'far' in this file.
41
+#undef near
42
+#undef far
43
+#endif
44
+
45
namespace android {
46
// -------------------------------------------------------------------------------------
47
namespace details {
0 commit comments