Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com>
---
 configure.ac          |    1 +
 src/openvpn/syshead.h |    7 -------
 2 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 193d287..cca9508 100644
--- a/configure.ac
+++ b/configure.ac
@@ -270,6 +270,7 @@ case "$host" in
        *-*-linux*)
                AC_DEFINE([TARGET_LINUX], [1], [Are we running on Linux?])
                AC_DEFINE_UNQUOTED([TARGET_PREFIX], ["L"], [Target prefix])
+               AC_DEFINE([ENABLE_MEMSTATS], [1], [Enable --memstats option])
                ;;
        *-*-solaris*)
                AC_DEFINE([TARGET_SOLARIS], [1], [Are we running on Solaris?])
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h
index c4dfd0b..d5a9af1 100644
--- a/src/openvpn/syshead.h
+++ b/src/openvpn/syshead.h
@@ -613,11 +613,4 @@
  */
 #define ENABLE_CLIENT_NAT

-/*
- * Enable --memstats option
- */
-#ifdef TARGET_LINUX
-#define ENABLE_MEMSTATS
-#endif
-
 #endif
-- 
1.7.3.4


Reply via email to