aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sockio-c.cxx
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-10-29 15:37:18 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-12-05 18:48:51 +0200
commit4ae82c64d8f219666c2f8315a8a5ab9e30a1c1af (patch)
treec6b6cdec7660f287802ae1397e0dce087969a375 /src/lib/sockio-c.cxx
parent088873fbc7f92c3d8d582f29eb44e39a136e944d (diff)
downloadopen-axiom-new-build.tar.gz
Diffstat (limited to 'src/lib/sockio-c.cxx')
-rw-r--r--src/lib/sockio-c.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sockio-c.cxx b/src/lib/sockio-c.cxx
index dda95ec3..c17c3398 100644
--- a/src/lib/sockio-c.cxx
+++ b/src/lib/sockio-c.cxx
@@ -70,9 +70,9 @@ namespace OpenAxiom {
/* Note that the name AF_LOCAL is more portable than AF_UNIX, but MingW
implementation and Windows documentation don't always agree. */
-#if HAVE_AF_LOCAL
+#if HAVE_DECL_AF_LOCAL
# define OPENAXIOM_AF_LOCAL AF_LOCAL
-#elif HAVE_AF_UNIX
+#elif HAVE_DECL_AF_UNIX
# define OPENAXIOM_AF_LOCAL AF_UNIX
#else
# error "needs one of AF_LOCAL or AF_UNIX"