diff --git a/lib/types.h b/lib/types.h
index f09c15d..4bd6f5f 100644
--- a/lib/types.h
+++ b/lib/types.h
@@ -38,8 +38,8 @@ typedef unsigned short      uint16_t;
 typedef short               int16_t;
 typedef unsigned int        uint32_t;
 typedef int                 int32_t;
-typedef unsigned long long  uint64_t;
-typedef long long           int64_t;
+typedef unsigned __int64    uint64_t;
+typedef __int64             int64_t;
 #else
 #include <stdint.h>
 #endif