mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-03 12:34:19 +00:00
445604a915
-fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.4. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
15 lines
529 B
Diff
15 lines
529 B
Diff
--- a/include/filenames.h
|
|
+++ b/include/filenames.h
|
|
@@ -43,11 +43,6 @@ extern "C" {
|
|
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
|
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
|
#else /* not DOSish */
|
|
-# if defined(__APPLE__)
|
|
-# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
|
-# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
|
-# endif
|
|
-# endif /* __APPLE__ */
|
|
# define HAS_DRIVE_SPEC(f) (0)
|
|
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
|
# define IS_ABSOLUTE_PATH(f) IS_UNIX_ABSOLUTE_PATH (f)
|