Skip to content

Commit c078fe8

Browse files
committed
Rename errno.h and stdio.h to swiftsyntax_errno.h and swiftsyntax_stdio.h
In some build scenarios compilers get confused if a file named `errno.h` includes `errno.h`, even if it’s intended to be from a different directory. Renaming the files in swift-syntax works around that issue.
1 parent 27b74ed commit c078fe8

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module _SwiftSyntaxCShims {
2-
header "swiftsyntax/_includes.h"
3-
header "swiftsyntax/AtomicBool.h"
4-
header "swiftsyntax/errno.h"
5-
header "swiftsyntax/stdio.h"
2+
header "_includes.h"
3+
header "AtomicBool.h"
4+
header "swiftsyntax_errno.h"
5+
header "swiftsyntax_stdio.h"
66
export *
77
}

0 commit comments

Comments
 (0)