mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
Force libiberty to consider all filesystems as potentially case-sensitive.
Whose idea was this?! Fixes #14963.
This commit is contained in:
parent
5720e0c88e
commit
2ebb811a77
@ -36,17 +36,21 @@ extern "C" {
|
|||||||
# ifndef HAVE_DOS_BASED_FILE_SYSTEM
|
# ifndef HAVE_DOS_BASED_FILE_SYSTEM
|
||||||
# define HAVE_DOS_BASED_FILE_SYSTEM 1
|
# define HAVE_DOS_BASED_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
|
/*
|
||||||
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
||||||
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
|
*/
|
||||||
# define HAS_DRIVE_SPEC(f) HAS_DOS_DRIVE_SPEC (f)
|
# define HAS_DRIVE_SPEC(f) HAS_DOS_DRIVE_SPEC (f)
|
||||||
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
||||||
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
||||||
#else /* not DOSish */
|
#else /* not DOSish */
|
||||||
# if defined(__APPLE__)
|
# if defined(__APPLE__)
|
||||||
|
/*
|
||||||
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
||||||
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
|
*/
|
||||||
# endif /* __APPLE__ */
|
# endif /* __APPLE__ */
|
||||||
# define HAS_DRIVE_SPEC(f) (0)
|
# define HAS_DRIVE_SPEC(f) (0)
|
||||||
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
||||||
|
@ -36,17 +36,21 @@ extern "C" {
|
|||||||
# ifndef HAVE_DOS_BASED_FILE_SYSTEM
|
# ifndef HAVE_DOS_BASED_FILE_SYSTEM
|
||||||
# define HAVE_DOS_BASED_FILE_SYSTEM 1
|
# define HAVE_DOS_BASED_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
|
/*
|
||||||
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
||||||
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
|
*/
|
||||||
# define HAS_DRIVE_SPEC(f) HAS_DOS_DRIVE_SPEC (f)
|
# define HAS_DRIVE_SPEC(f) HAS_DOS_DRIVE_SPEC (f)
|
||||||
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
||||||
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
||||||
#else /* not DOSish */
|
#else /* not DOSish */
|
||||||
# if defined(__APPLE__)
|
# if defined(__APPLE__)
|
||||||
|
/*
|
||||||
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
|
||||||
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
|
*/
|
||||||
# endif /* __APPLE__ */
|
# endif /* __APPLE__ */
|
||||||
# define HAS_DRIVE_SPEC(f) (0)
|
# define HAS_DRIVE_SPEC(f) (0)
|
||||||
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
||||||
|
Loading…
Reference in New Issue
Block a user