that WinDef.h insists on shoving down our throats.legacy
| @@ -22,6 +22,10 @@ | |||||
| namespace lol | namespace lol | ||||
| { | { | ||||
| /* This is OUR namespace. Don't let Windows headers fuck with it. */ | |||||
| #undef min | |||||
| #undef max | |||||
| class half | class half | ||||
| { | { | ||||
| public: | public: | ||||
| @@ -18,12 +18,16 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| /* Avoid issues with NaCl headers */ | |||||
| #undef log2 | |||||
| namespace lol | namespace lol | ||||
| { | { | ||||
| /* This is OUR namespace. Don't let Windows headers fuck with it. */ | |||||
| #undef min | |||||
| #undef max | |||||
| /* Avoid issues with NaCl headers */ | |||||
| #undef log2 | |||||
| /* | /* | ||||
| * The base class for reals. The only real reason for making this a template | * The base class for reals. The only real reason for making this a template | ||||
| * class is so we can have implicit constructors ("real x = 1" works) but | * class is so we can have implicit constructors ("real x = 1" works) but | ||||
| @@ -28,6 +28,10 @@ | |||||
| namespace lol | namespace lol | ||||
| { | { | ||||
| /* This is OUR namespace. Don't let Windows headers fuck with it. */ | |||||
| #undef min | |||||
| #undef max | |||||
| /* Some compilers do not support const members in anonymous unions. So | /* Some compilers do not support const members in anonymous unions. So | ||||
| * far, GCC (>= 4.6), CLang (3.0) and Visual Studio (>= 2010) appear to | * far, GCC (>= 4.6), CLang (3.0) and Visual Studio (>= 2010) appear to | ||||
| * work properly. */ | * work properly. */ | ||||
| @@ -363,12 +363,14 @@ | |||||
| <ClInclude Include="..\src\platform\xbox\xboxapp.h"> | <ClInclude Include="..\src\platform\xbox\xboxapp.h"> | ||||
| <Filter>src\platform\xbox</Filter> | <Filter>src\platform\xbox</Filter> | ||||
| </ClInclude> | </ClInclude> | ||||
| <ClInclude Include="..\src\lol\debug.h" /> | |||||
| <ClInclude Include="..\src\gpu\indexbuffer.h"> | <ClInclude Include="..\src\gpu\indexbuffer.h"> | ||||
| <Filter>src\gpu</Filter> | <Filter>src\gpu</Filter> | ||||
| </ClInclude> | </ClInclude> | ||||
| <ClInclude Include="..\src\array.h"> | <ClInclude Include="..\src\array.h"> | ||||
| <Filter>src</Filter> | <Filter>src</Filter> | ||||
| </ClInclude> | </ClInclude> | ||||
| <ClInclude Include="..\src\lol\debug.h"> | |||||
| <Filter>src\lol</Filter> | |||||
| </ClInclude> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| </Project> | |||||
| </Project> | |||||