Initial port to Windows

This adds enough shims and tweaks the types sufficiently to allow
building System on Windows.
This commit is contained in:
Saleem Abdulrasool committed 2020-11-03 15:03:51 -08:00
1 parent 0b0d9d5fbb
commit 4ffcc62e9b
8 files changed
+396 -2

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
/*
This source file is part of the Swift System open source project
Copyright (c) 2020 Apple Inc. and the Swift System project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
*/
#if defined(_WIN32)
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#define VC_EXTRA_LEAN
#include <Windows.h>
#endif