X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Fkhash.h;h=7adccdb00652b642182e83e4c0894085cdd1565e;hb=c25aa7cd825ba972c2a1a902c73ce3a8c8a59ec3;hp=40e2d1848b77cfc10a10f84a66551e1d7e4e3d5d;hpb=22a2d3d5efc740ba0dc69175b8bbb1e715e0257e;p=libgit2.git diff --git a/src/khash.h b/src/khash.h index 40e2d1848..7adccdb00 100644 --- a/src/khash.h +++ b/src/khash.h @@ -131,17 +131,8 @@ int main() { /* compiler specific configuration */ -#if UINT_MAX == 0xffffffffu -typedef unsigned int khint32_t; -#elif ULONG_MAX == 0xffffffffu -typedef unsigned long khint32_t; -#endif - -#if ULONG_MAX == ULLONG_MAX -typedef unsigned long khint64_t; -#else -typedef unsigned long long khint64_t; -#endif +typedef uint32_t khint32_t; +typedef uint64_t khint64_t; #ifndef kh_inline #ifdef _MSC_VER