Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b960372 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Undefine 'near' and 'far' in mat4.h for host Windows" into main

parents 1a067517 afdffd86
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -34,6 +34,14 @@
#define CONSTEXPR
#endif

#ifdef _WIN32
// windows.h contains obsolete defines of 'near' and 'far' for systems using
// legacy 16 bit pointers. Undefine them to avoid conflicting with the usage of
// 'near' and 'far' in this file.
#undef near
#undef far
#endif

namespace android {
// -------------------------------------------------------------------------------------
namespace details {