mirror of
https://github.com/apple/swift-system
synced 2026-11-23 04:34:26 +00:00
This adds enough shims and tweaks the types sufficiently to allow building System on Windows.
18 lines
386 B
C
18 lines
386 B
C
/*
|
|
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
|