about summary refs log tree commit diff
path: root/src/nm-netlink-compat.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-02-03 14:49:30 +0100
committerMichael Biebl <biebl@debian.org>2013-02-03 14:49:30 +0100
commit02d69323d320e0df4d7daa6115ee1ac1239b1a58 (patch)
treeb83a6b9a01b302117d31476361971212f9fd1750 /src/nm-netlink-compat.c
parentd31839fb4152978db9734e24c00fbac4f42debb7 (diff)
parent9c202e3e860b3be9e1f8882630b69affbb130102 (diff)
Merge tag 'upstream/0.9.7.995' into experimental
Upstream version 0.9.7.995
Diffstat (limited to 'src/nm-netlink-compat.c')
-rw-r--r--src/nm-netlink-compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-netlink-compat.c b/src/nm-netlink-compat.c
index e30ec37a..68ee1215 100644
--- a/src/nm-netlink-compat.c
+++ b/src/nm-netlink-compat.c
@@ -29,7 +29,7 @@
 #include "nm-logging.h"
 #include "nm-netlink-compat.h"
 
-#ifndef HAVE_LIBNL1
+#if HAVE_LIBNL != 1
 struct rtnl_nexthop *
 nm_netlink_get_nh (struct rtnl_route * route)
 {
@@ -93,7 +93,7 @@ rtnl_route_get_dst_len(struct rtnl_route * rtnlroute)
 }
 #endif
 
-#ifdef HAVE_LIBNL1
+#if HAVE_LIBNL == 1
 int
 nl_compat_error (int err)
 {