Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com> --- src/openvpn/common.h | 13 ++++--------- src/openvpn/syshead.h | 5 ----- 2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/src/openvpn/common.h b/src/openvpn/common.h index de2d609..845faee 100644 --- a/src/openvpn/common.h +++ b/src/openvpn/common.h @@ -28,16 +28,11 @@ /* * Statistics counters and associated printf formats. */ -#ifdef USE_64_BIT_COUNTERS - typedef unsigned long long int counter_type; -# ifdef WIN32 -# define counter_format "%I64u" -# else -# define counter_format "%llu" -# endif +typedef unsigned long long int counter_type; +#ifdef WIN32 +# define counter_format "%I64u" #else - typedef unsigned int counter_type; -# define counter_format "%u" +# define counter_format "%llu" #endif /* diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index 99a6674..ccd78af 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -456,11 +456,6 @@ socket_defined (const socket_descriptor_t sd) } /* - * Should statistics counters be 64 bits? - */ -#define USE_64_BIT_COUNTERS - -/* * Should we enable the use of execve() for calling subprocesses, * instead of system()? */ -- 1.7.3.4