diff options
author | Paul Smith <psmith@gnu.org> | 2001-01-21 06:49:11 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2001-01-21 06:49:11 +0000 |
commit | 8f2b1e2c7c1ced20354dcbcd08942256cf0dade0 (patch) | |
tree | a80c1cefee45b65819fb02554be24f5545d5d7df /gettext.c | |
parent | e5324a8c6a6380b544be8d64773827e976bea35a (diff) | |
download | gunmake-8f2b1e2c7c1ced20354dcbcd08942256cf0dade0.tar.gz |
Some bug fixes and document updates.
Diffstat (limited to 'gettext.c')
-rw-r--r-- | gettext.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -786,9 +786,14 @@ struct string_desc #else static nls_uint32 SWAP PARAMS ((nls_uint32 i)); +/* Apparently on some (non-32-bit?) systems it's important to use the right + prototype. Reported for a CRAY T3E. */ static inline nls_uint32 -SWAP (i) - nls_uint32 i; +#if __STDC__ + SWAP (nls_uint32 i) +#else + SWAP (i) nls_uint32 i; +#endif { return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); } |