Remove some usages of windows.h (#1370)

For HAL and wpilib, we don't need them, especially where they were being used.
This commit is contained in:
Thad House
2018-10-28 22:33:55 -07:00
committed by Peter Johnson
parent 9f6544fa87
commit 9174f23f36
3 changed files with 12 additions and 12 deletions

View File

@@ -15,8 +15,7 @@
#include <wpi/Twine.h>
#ifdef _WIN32
#include <Windows.h>
// Windows.h defines #define GetMessage GetMessageW, which we don't want.
#pragma push_macro("GetMessage")
#undef GetMessage
#endif
@@ -65,3 +64,7 @@ class Error {
};
} // namespace frc
#ifdef _WIN32
#pragma pop_macro("GetMessage")
#endif