]> git.proxmox.com Git - libgit2.git/blobdiff - src/khash.h
New upstream version 1.3.0+dfsg.1
[libgit2.git] / src / khash.h
index 40e2d1848b77cfc10a10f84a66551e1d7e4e3d5d..7adccdb00652b642182e83e4c0894085cdd1565e 100644 (file)
@@ -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