1
0

002-case_insensitive.patch 815 B

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