mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-24 03:49:14 -05:00
Use sizeof(void *) instead of __WORDSIZE
This commit is contained in:
parent
613717f6b8
commit
2f99797d9a
@ -95,6 +95,8 @@ fi
|
||||
|
||||
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
||||
|
||||
AC_CHECK_SIZEOF(void *)
|
||||
|
||||
AC_CHECK_HEADERS(getopt.h,,)
|
||||
AC_CHECK_HEADERS(stdint.h,,)
|
||||
|
||||
|
@ -215,7 +215,7 @@ b64_decode(const char *b64)
|
||||
* as of 2010-01-03.
|
||||
*/
|
||||
|
||||
#if __WORDSIZE == 64 /* 64bit platforms */
|
||||
#if SIZEOF_VOID_P == 8 /* 64bit platforms */
|
||||
|
||||
uint64_t
|
||||
murmur_hash64(const void *key, int len, uint32_t seed)
|
||||
@ -273,7 +273,7 @@ murmur_hash64(const void *key, int len, uint32_t seed)
|
||||
return h;
|
||||
}
|
||||
|
||||
#elif __WORDSIZE == 32 /* 32bit platforms */
|
||||
#elif SIZEOF_VOID_P == 4 /* 32bit platforms */
|
||||
|
||||
uint64_t
|
||||
murmur_hash64(const void *key, int len, uint32_t seed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user