diff options
-rw-r--r-- | common.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -53,14 +53,22 @@ typedef int interval_t; /* * Printf formats for special types */ +#ifdef _WIN64 +#define ptr_format "0x%I64x" +#else #define ptr_format "0x%08lx" +#endif #define time_format "%lu" #define fragment_header_format "0x%08x" /* these are used to cast the arguments * and MUST match the formats above */ typedef unsigned long time_type; +#ifdef _WIN64 +typedef unsigned long long ptr_type; +#else typedef unsigned long ptr_type; +#endif /* the --client-config-dir default file */ #define CCD_DEFAULT "DEFAULT" |