Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/dist/lib/ns Fix stats counters to be 32 bi...
details: https://anonhg.NetBSD.org/src/rev/14aaeff28001
branches: trunk
changeset: 933467:14aaeff28001
user: christos <christos%NetBSD.org@localhost>
date: Mon May 25 15:13:25 2020 +0000
description:
Fix stats counters to be 32 bits on ILP32
diffstat:
external/mpl/bind/dist/lib/ns/client.c | 4 ++--
external/mpl/bind/dist/lib/ns/include/ns/client.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r b58f2a85d584 -r 14aaeff28001 external/mpl/bind/dist/lib/ns/client.c
--- a/external/mpl/bind/dist/lib/ns/client.c Mon May 25 15:12:54 2020 +0000
+++ b/external/mpl/bind/dist/lib/ns/client.c Mon May 25 15:13:25 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: client.c,v 1.9 2020/05/24 19:46:29 christos Exp $ */
+/* $NetBSD: client.c,v 1.10 2020/05/25 15:13:25 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -128,7 +128,7 @@
* Number of tasks to be used by clients - those are used only when recursing
*/
-#if defined(_WIN32) && !defined(_WIN64)
+#if (defined(_WIN32) && !defined(_WIN64)) || !defined(_LP64)
LIBNS_EXTERNAL_DATA atomic_uint_fast32_t ns_client_requests;
#else /* if defined(_WIN32) && !defined(_WIN64) */
LIBNS_EXTERNAL_DATA atomic_uint_fast64_t ns_client_requests;
diff -r b58f2a85d584 -r 14aaeff28001 external/mpl/bind/dist/lib/ns/include/ns/client.h
--- a/external/mpl/bind/dist/lib/ns/include/ns/client.h Mon May 25 15:12:54 2020 +0000
+++ b/external/mpl/bind/dist/lib/ns/include/ns/client.h Mon May 25 15:13:25 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: client.h,v 1.8 2020/05/24 19:46:29 christos Exp $ */
+/* $NetBSD: client.h,v 1.9 2020/05/25 15:13:25 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -273,7 +273,7 @@
*/
#define NS_FAILCACHE_CD 0x01
-#if defined(_WIN32) && !defined(_WIN64)
+#if (defined(_WIN32) && !defined(_WIN64)) || !defined(_LP64)
LIBNS_EXTERNAL_DATA extern atomic_uint_fast32_t ns_client_requests;
#else /* if defined(_WIN32) && !defined(_WIN64) */
LIBNS_EXTERNAL_DATA extern atomic_uint_fast64_t ns_client_requests;
Home |
Main Index |
Thread Index |
Old Index