Skip to content

Commit 075acb0

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents 31f0920 + 9946276 commit 075acb0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

stdlib/public/stubs/Availability.mm

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@
2121
#include "swift/Runtime/Debug.h"
2222
#include <TargetConditionals.h>
2323
#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
3524
#include <dlfcn.h>
3625

3726
struct os_system_version_s {
@@ -50,8 +39,6 @@ static os_system_version_s getOSVersion() {
5039
return vers;
5140
}
5241

53-
#endif
54-
5542
using namespace swift;
5643

5744
/// Return the version of the operating system currently running for use in

0 commit comments

Comments
 (0)