We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f15810d + c342352 commit 72ded75Copy full SHA for 72ded75
stdlib/public/Platform/Misc.c
@@ -10,10 +10,10 @@
10
//
11
//===----------------------------------------------------------------------===//
12
13
-#include <sys/types.h>
14
-#include <sys/stat.h>
15
#include <fcntl.h>
16
#include <semaphore.h>
+#include <sys/types.h>
+#include <sys/stat.h>
17
18
extern int
19
_swift_Platform_open(const char *path, int oflag, mode_t mode) {
@@ -62,12 +62,12 @@ extern long double
62
_swift_Darwin_lgammal_r(long double x, int *psigngam) {
63
return lgammal_r(x, psigngam);
64
}
65
-#endif
+#endif // defined(__APPLE__)
66
67
#if defined(__FreeBSD__)
68
extern char **
69
_swift_FreeBSD_getEnv() {
70
extern char **environ;
71
return environ;
72
73
+#endif // defined(__FreeBSD__)
0 commit comments