File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
branches/master-next/stdlib/public/stubs Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3
- refs/heads/master-next: 31f092027f764641e56db46e18a19786d2232dcf
3
+ refs/heads/master-next: 075acb0415aca5e232d1f5df2037d992fadd764f
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
6
6
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07
Original file line number Diff line number Diff line change 21
21
#include " swift/Runtime/Debug.h"
22
22
#include < TargetConditionals.h>
23
23
#include " ../SwiftShims/FoundationShims.h"
24
-
25
- #if __has_include(<os/system_version.h>)
26
- #include < os/system_version.h>
27
-
28
- static os_system_version_s getOSVersion () {
29
- struct os_system_version_s vers = { 0 , 0 , 0 };
30
- os_system_version_get_current_version (&vers);
31
- return vers;
32
- }
33
-
34
- #else
35
24
#include < dlfcn.h>
36
25
37
26
struct os_system_version_s {
@@ -50,8 +39,6 @@ static os_system_version_s getOSVersion() {
50
39
return vers;
51
40
}
52
41
53
- #endif
54
-
55
42
using namespace swift ;
56
43
57
44
// / Return the version of the operating system currently running for use in
You can’t perform that action at this time.
0 commit comments