Skip to content

Commit 418b706

Browse files
committed
Fix C preprocessor directive
In otherlibs/threads/scheduler.c, an #include directive was used instead of a #warning or #error one. This commit replaces it with a #warning directive.
1 parent c810312 commit 418b706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

otherlibs/threads/scheduler.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
defined(HAS_SETITIMER) && \
4141
defined(HAS_GETTIMEOFDAY) && \
4242
(defined(HAS_WAITPID) || defined(HAS_WAIT4)))
43-
#include "Cannot compile libthreads, system calls missing"
43+
#warning "Cannot compile libthreads, system calls missing"
4444
#endif
4545

4646
#include <errno.h>

0 commit comments

Comments
 (0)