fixed bug in pointer size detection
authorkramm <kramm>
Mon, 6 Oct 2008 12:57:47 +0000 (12:57 +0000)
committerkramm <kramm>
Mon, 6 Oct 2008 12:57:47 +0000 (12:57 +0000)
lib/types.h

index 58ee32c..6af6ab7 100644 (file)
@@ -54,7 +54,7 @@ typedef         signed short        S16;
 typedef         unsigned char       U8;
 typedef         signed char         S8;
 
-#if SIZEOF_VOIDP == SIZEOF_LONG_LONG
+#if SIZEOF_VOIDP == SIZEOF_SIGNED_LONG_LONG
 typedef unsigned long long ptroff_t;
 #elif SIZEOF_VOIDP == SIZEOF_SIGNED
 typedef unsigned ptroff_t;