mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
Automatically detect fts.h presence when compiling (#8071)
This should support libc-s that don't ship with glibc-like fts.h, e.g. musl
This commit is contained in:
committed by
GitHub
parent
12145a34ee
commit
7660dc8042
@@ -15,7 +15,7 @@
|
||||
# include <errno.h>
|
||||
# include <fcntl.h>
|
||||
# include <fnmatch.h>
|
||||
# ifndef __EMSCRIPTEN__
|
||||
# if !defined(__EMSCRIPTEN__) && __has_include(<fts.h>)
|
||||
# include <fts.h>
|
||||
# endif
|
||||
# include "../OpenRCT2.h"
|
||||
|
||||
Reference in New Issue
Block a user