diff options
Diffstat (limited to 'toolsrc/src/vcpkg-test/system.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg-test/system.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/toolsrc/src/vcpkg-test/system.cpp b/toolsrc/src/vcpkg-test/system.cpp index 6b9dfaf95..6e87f9b3e 100644 --- a/toolsrc/src/vcpkg-test/system.cpp +++ b/toolsrc/src/vcpkg-test/system.cpp @@ -1,4 +1,4 @@ -#define _POSIX_C_SOURCE 200112L +#include <vcpkg/base/system_headers.h> #include <catch2/catch.hpp> #include <string> @@ -8,14 +8,6 @@ #include <vcpkg/base/strings.h> #include <vcpkg/base/system.h> -#if defined(_WIN32) -#define _NOMINMAX -#define WIN32_LEAN_AND_MEAN -#include <windows.h> -#else -#include <stdlib.h> -#endif - using vcpkg::Optional; using vcpkg::StringView; using vcpkg::ZStringView; |
