mirror of
https://github.com/apple/swift-system
synced 2026-11-28 05:14:33 +00:00
Initial port to Windows
This adds enough shims and tweaks the types sufficiently to allow building System on Windows.
This commit is contained in:
1 parent
0b0d9d5fbb
commit
4ffcc62e9b
8 files changed
+396
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user