b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | commit 81cc26c706b2bc8c8c1eb1a322e5c5157900836e |
| 2 | Author: Felix Fietkau <nbd@openwrt.org> |
| 3 | Date: Sun Oct 19 21:45:51 2014 +0000 |
| 4 | |
| 5 | gcc: do not assume that the Mac OS X filesystem is case insensitive |
| 6 | |
| 7 | Signed-off-by: Felix Fietkau <nbd@openwrt.org> |
| 8 | |
| 9 | SVN-Revision: 42973 |
| 10 | |
| 11 | --- a/include/filenames.h |
| 12 | +++ b/include/filenames.h |
| 13 | @@ -44,11 +44,6 @@ extern "C" { |
| 14 | # define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c) |
| 15 | # define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f) |
| 16 | #else /* not DOSish */ |
| 17 | -# if defined(__APPLE__) |
| 18 | -# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM |
| 19 | -# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1 |
| 20 | -# endif |
| 21 | -# endif /* __APPLE__ */ |
| 22 | # define HAS_DRIVE_SPEC(f) (0) |
| 23 | # define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c) |
| 24 | # define IS_ABSOLUTE_PATH(f) IS_UNIX_ABSOLUTE_PATH (f) |