Fix: warning: "HAVE_GETIPNODEBYNAME" is not defined
[lttng-tools.git] / src / common / compat / netdb.hpp
index 0f75771ca12526fdd20e9ddc401b6fe38a4b1241..4d5f4f98f9dccf31b16d78649846ddcf69e34a06 100644 (file)
@@ -15,7 +15,7 @@ static inline struct hostent *lttng_gethostbyname2(const char *name, int af)
 {
        return gethostbyname2(name, af);
 }
-#elif HAVE_GETIPNODEBYNAME
+#elif defined(HAVE_GETIPNODEBYNAME)
 static inline struct hostent *lttng_gethostbyname2(const char *name, int af)
 {
        int unused;
This page took 0.022865 seconds and 4 git commands to generate.