* we need to compare sizeof int to sizeof sizet to switch this between 32 and 64...
authorWilfried Göesgens <willi@citadel.org>
Sat, 13 Oct 2007 14:34:39 +0000 (14:34 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 13 Oct 2007 14:34:39 +0000 (14:34 +0000)
citadel/sysdep_decls.h

index 17cb5b63f132684463cc25b7856ebc411e39e60f..59343207e842e99172f536eba1b3af577328d797 100644 (file)
 #include "sysdep.h"
 #include "server.h"
 
-#if SIZEOF_SIZE_T == SIZEOF_LONG
-#define SIZE_T_FMT "%ld"
-#else 
+#if SIZEOF_SIZE_T == SIZEOF_INT 
 #define SIZE_T_FMT "%d"
+#else
+#define SIZE_T_FMT "%ld"
 #endif