Skip to content

Commit 13dd2ef

Browse files
committed
missing #ifdef __has_feature
Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
1 parent 47369eb commit 13dd2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dispatch/dispatch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#include <unistd.h>
4848
#include <fcntl.h>
4949

50-
#ifdef __linux__
50+
#if defined(__linux__) && defined(__has_feature)
5151
#if __has_feature(modules)
5252
#include <stdio.h> // for off_t (to match Glibc.modulemap)
5353
#endif

0 commit comments

Comments
 (0)