diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-02-29 22:12:15 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-03-22 22:53:39 +0100 |
commit | 3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3 (patch) | |
tree | d4ec60463290c45c2b201797099214d854edc042 /src/openvpn/options.h | |
parent | dc81e743989640cc681a40e69455cc9fc736ab9c (diff) | |
download | openvpn-3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3.tar.gz openvpn-3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3.tar.xz openvpn-3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3.zip |
build: move gettimeofday() emulation to compat
Remove all references to gettimeofday() from main project.
SIDE EFFECT: mingw will use its own internal gettimeofday().
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/options.h')
-rw-r--r-- | src/openvpn/options.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvpn/options.h b/src/openvpn/options.h index 4e5b7a4..9e78d00 100644 --- a/src/openvpn/options.h +++ b/src/openvpn/options.h @@ -260,7 +260,7 @@ struct options const char *ifconfig_ipv6_remote; bool ifconfig_noexec; bool ifconfig_nowarn; -#ifdef HAVE_GETTIMEOFDAY +#ifdef ENABLE_FEATURE_SHAPER int shaper; #endif @@ -680,7 +680,7 @@ struct options #define ROUTE_OPTION_FLAGS(o) (0) #endif -#ifdef HAVE_GETTIMEOFDAY +#ifdef ENABLE_FEATURE_SHAPER #define SHAPER_DEFINED(opt) ((opt)->shaper) #else #define SHAPER_DEFINED(opt) (false) |