Skip to content

Commit 3f571a7

Browse files
committed
Fix broken detection for QLJS_HAVE_CRT_EXTERNS_H
1 parent 37c3b0b commit 3f571a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quick-lint-js/have.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#if defined(QLJS_HAVE_CRT_EXTERNS_H) && QLJS_HAVE_CRT_EXTERNS_H
2525
#elif defined(__has_include)
26-
#if __has_include(<fcntl.h>)
26+
#if __has_include(<crt_externs.h>)
2727
#define QLJS_HAVE_CRT_EXTERNS_H 1
2828
#endif
2929
#elif defined(__APPLE__)

0 commit comments

Comments
 (0)