#define COMMON_H
/*
- * Statistics counters and associated printf formats.
+ * Statistics counters and associated printf format.
*/
-#ifdef USE_64_BIT_COUNTERS
-typedef unsigned long long int counter_type;
-#ifdef _WIN32
-#define counter_format "%I64u"
-#else
-#define counter_format "%llu"
-#endif
-#else /* ifdef USE_64_BIT_COUNTERS */
-typedef unsigned int counter_type;
-#define counter_format "%u"
-#endif
+typedef uint64_t counter_type;
+#define counter_format "%" PRIu64
/*
* Time intervals
return sd != SOCKET_UNDEFINED;
}
-/*
- * Should statistics counters be 64 bits?
- */
-#define USE_64_BIT_COUNTERS
-
/*
* Should we enable the use of execve() for calling subprocesses,
* instead of system()?