Skip to content

Commit f24bb03

Browse files
authored
Merge pull request #71846 from al45tair/eng/PR-123507361
[Runtime] Don't use `<sys/errno.h>`.
2 parents a16372e + b2509d9 commit f24bb03

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

stdlib/public/CommandLineSupport/CommandLine.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@
2424
#include <cstring>
2525
#include <string>
2626

27-
#if __has_include(<sys/errno.h>)
28-
#include <sys/errno.h>
29-
#else
3027
#include <errno.h>
31-
#endif
3228

3329
#include "swift/Runtime/Debug.h"
3430
#include "swift/Runtime/Win32.h"

stdlib/public/stubs/Stubs.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@
2626
#define NOMINMAX
2727
#include <windows.h>
2828
#else // defined(_WIN32)
29-
#if __has_include(<sys/errno.h>)
30-
#include <sys/errno.h>
31-
#else
3229
#include <errno.h>
33-
#endif
3430
#if __has_include(<sys/resource.h>)
3531
#include <sys/resource.h>
3632
#endif

0 commit comments

Comments
 (0)