Fix: warning: "HAVE_GETIPNODEBYNAME" is not defined
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 28 Mar 2023 16:06:00 +0000 (12:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 17 Apr 2023 19:13:43 +0000 (15:13 -0400)
Change-Id: I3214a63daea3c2d44f8712127cd0d776d429f130
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.025585 seconds and 4 git commands to generate.