Skip to content

Commit 9d3a975

Browse files
authored
Merge pull request #85229 from etcwilde/ewilde/nudge-glibc-modulemap
Modularize signal.h on FreeBSD
2 parents 0b342de + ff92f9e commit 9d3a975

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stdlib/public/Platform/glibc.modulemap.gyb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ module SwiftGlibc [system] {
4949
export *
5050
}
5151

52+
% if CMAKE_SDK == "FREEBSD":
53+
module signal_h [system] {
54+
config_macros _BSD_VISIBLE, _POSIX_VISIBLE
55+
header "signal.h"
56+
export *
57+
}
58+
% end
59+
5260
module CUUID [system] {
5361
header "uuid/uuid.h"
5462
link "uuid"

0 commit comments

Comments
 (0)