aboutsummaryrefslogtreecommitdiff
path: root/ares_build.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares_build.h')
-rw-r--r--ares_build.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares_build.h b/ares_build.h
index 2736cff..e2c14c6 100644
--- a/ares_build.h
+++ b/ares_build.h
@@ -220,6 +220,8 @@
# define CARES_SIZEOF_LONG 4
# elif defined(__x86_64__) || defined(__ppc64__)
# define CARES_SIZEOF_LONG 8
+# else
+# define CARES_SIZEOF_LONG sizeof(long)
# endif
# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# define CARES_SIZEOF_ARES_SOCKLEN_T 4