diff options
author | 2016-06-20 08:41:51 +0000 | |
---|---|---|
committer | 2016-06-20 08:41:51 +0000 | |
commit | 110b09821a7b1de438ca22d7407436dce658bfde (patch) | |
tree | 9fa7eb5f4ce4f4335b46c7791fe0b594c890563b | |
parent | 061c542db7c6616d3698717d6b857914c3e2ca92 (diff) | |
parent | 6a9d37dfe692b82af2417f80af35fa24a26df0d8 (diff) |
Merge "netlink: re-define DBL_MAX to be smaller than usual."
-rw-r--r-- | netlink/librtnl/rtnl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netlink/librtnl/rtnl.c b/netlink/librtnl/rtnl.c index c0b2327..d66c2ee 100644 --- a/netlink/librtnl/rtnl.c +++ b/netlink/librtnl/rtnl.c @@ -32,6 +32,9 @@ #include <sys/types.h> #include <sys/wait.h> +#undef DBL_MAX +#define DBL_MAX 1000000000.0 + typedef enum { RTNL_E_OPEN, RTNL_E_CLOSE, |