1
0
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:
Michał Janiszewski
2018-10-10 00:06:50 +02:00
committed by GitHub
parent 12145a34ee
commit 7660dc8042

View File

@@ -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"