File tree Expand file tree Collapse file tree 4 files changed +48
-2
lines changed Expand file tree Collapse file tree 4 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: fbad0b286af850d1f058ad3bda8a5380fce34058
2
+ refs/heads/master: 5294e7d1567ed53114227b9291b622194eecd6c0
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -68,8 +68,15 @@ if(SWIFT_BUILD_SDK_OVERLAY)
68
68
add_subdirectory (Platform )
69
69
endif ()
70
70
71
- if (CMAKE_SYSTEM_NAME STREQUAL " Darwin" )
71
+ if (CMAKE_SYSTEM_NAME STREQUAL Darwin )
72
72
if (SWIFT_BUILD_SDK_OVERLAY )
73
73
add_subdirectory (SDK )
74
74
endif ()
75
75
endif ()
76
+
77
+ if (SWIFT_BUILD_SDK_OVERLAY )
78
+ if (WINDOWS IN_LIST SWIFT_SDKS )
79
+ add_subdirectory (Windows )
80
+ endif ()
81
+ endif ()
82
+
Original file line number Diff line number Diff line change
1
+ add_swift_target_library (swiftWinSDK ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_SDK_OVERLAY
2
+ WinSDK.swift
3
+
4
+ SWIFT_COMPILE_FLAGS "${SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS} "
5
+ LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS} "
6
+ TARGET_SDKS WINDOWS )
7
+
Original file line number Diff line number Diff line change
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the Swift.org open source project
4
+ //
5
+ // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
12
+
13
+ @_exported import WinSDK // Clang module
14
+
15
+ // WinBase.h
16
+ public let HANDLE_FLAG_INHERIT : DWORD = 0x00000001
17
+
18
+ // WinBase.h
19
+ public let STARTF_USESTDHANDLES : DWORD = 0x00000100
20
+
21
+ // WinBase.h
22
+ public let INFINITE : DWORD = DWORD ( bitPattern: - 1 )
23
+
24
+ // WinBase.h
25
+ public let WAIT_OBJECT_0 : DWORD = 0
26
+
27
+ // minwindef.h
28
+ public let FALSE : BOOL = 0
29
+
30
+ // minwindef.h
31
+ public let TRUE : BOOL = 1
32
+
You can’t perform that action at this time.
0 commit comments