diff options
author | Roland McGrath <roland@redhat.com> | 1996-05-13 18:38:38 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1996-05-13 18:38:38 +0000 |
commit | 0feb1dd25faffbd8da595bdcb5bc18158c503234 (patch) | |
tree | 4760d7e9a29b12b73bd77cee1b00bf52e7896f58 | |
parent | e2d8bf4aa4e2f95827605d6fc1bc8ca9dff60538 (diff) | |
download | gunmake-0feb1dd25faffbd8da595bdcb5bc18158c503234.tar.gz |
Sun May 12 19:19:43 1996 Aaron Digulla <digulla@fh-konstanz.de>
* make.h: Added HASHI(). This is the same as HASH() but converts
it's second parameter to lowercase on Amiga to fold filenames.
-rw-r--r-- | make.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -273,6 +273,12 @@ extern char *alloca (); /* Add to VAR the hashing value of C, one character in a name. */ #define HASH(var, c) \ ((var += (c)), (var = ((var) << 7) + ((var) >> 20))) +#ifdef _AMIGA /* Fold filenames on #amiga */ +#define HASHI(var, c) \ + ((var += tolower((c))), (var = ((var) << 7) + ((var) >> 20))) +#else +#define HASHI(var, c) HASH(var,c) +#endif #if defined(__GNUC__) || defined(ENUM_BITFIELDS) #define ENUM_BITFIELD(bits) :bits |