CVS commit: src/external/mpl/bind/dist/lib/isc/include/isc
Module Name:src Committed By: christos Date: Thu Feb 22 12:43:10 UTC 2024 Modified Files: src/external/mpl/bind/dist/lib/isc/include/isc: types.h Log Message: Use 32 bit counters on non _LP64 machines because they don't have 64 bit atomics. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/mpl/bind/dist/lib/isc/include/isc/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mpl/bind/dist/lib/isc/include/isc/types.h diff -u src/external/mpl/bind/dist/lib/isc/include/isc/types.h:1.11 src/external/mpl/bind/dist/lib/isc/include/isc/types.h:1.12 --- src/external/mpl/bind/dist/lib/isc/include/isc/types.h:1.11 Wed Feb 21 17:52:31 2024 +++ src/external/mpl/bind/dist/lib/isc/include/isc/types.h Thu Feb 22 07:43:10 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.11 2024/02/21 22:52:31 christos Exp $ */ +/* $NetBSD: types.h,v 1.12 2024/02/22 12:43:10 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -78,8 +78,13 @@ typedef struct isc_sockaddr isc_sockadd typedef ISC_LIST(isc_sockaddr_t) isc_sockaddrlist_t; /*%< Socket Address List * */ typedef struct isc_statsisc_stats_t; /*%< Statistics */ +#ifdef _LP64 typedef int_fast64_t isc_statscounter_t; typedef atomic_int_fast64_t isc_atomic_statscounter_t; +#else +typedef int_fast32_t isc_statscounter_t; +typedef atomic_int_fast32_t isc_atomic_statscounter_t; +#endif typedef struct isc_symtab isc_symtab_t; /*%< Symbol Table */ typedef struct isc_task isc_task_t; /*%< Task */ typedef ISC_LIST(isc_task_t) isc_tasklist_t; /*%< Task List */
CVS commit: src/external/mpl/bind/dist/lib/isc/include/isc
Module Name:src Committed By: christos Date: Thu Feb 22 12:43:10 UTC 2024 Modified Files: src/external/mpl/bind/dist/lib/isc/include/isc: types.h Log Message: Use 32 bit counters on non _LP64 machines because they don't have 64 bit atomics. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/mpl/bind/dist/lib/isc/include/isc/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mpl/bind/dist/lib/isc/include/isc
Module Name:src Committed By: christos Date: Thu Nov 28 00:18:36 UTC 2019 Modified Files: src/external/mpl/bind/dist/lib/isc/include/isc: types.h Log Message: match ifdefs with stats.c atomic selection To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/mpl/bind/dist/lib/isc/include/isc/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mpl/bind/dist/lib/isc/include/isc
Module Name:src Committed By: christos Date: Thu Nov 28 00:18:36 UTC 2019 Modified Files: src/external/mpl/bind/dist/lib/isc/include/isc: types.h Log Message: match ifdefs with stats.c atomic selection To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/mpl/bind/dist/lib/isc/include/isc/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mpl/bind/dist/lib/isc/include/isc/types.h diff -u src/external/mpl/bind/dist/lib/isc/include/isc/types.h:1.5 src/external/mpl/bind/dist/lib/isc/include/isc/types.h:1.6 --- src/external/mpl/bind/dist/lib/isc/include/isc/types.h:1.5 Wed Nov 27 00:48:42 2019 +++ src/external/mpl/bind/dist/lib/isc/include/isc/types.h Wed Nov 27 19:18:36 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.5 2019/11/27 05:48:42 christos Exp $ */ +/* $NetBSD: types.h,v 1.6 2019/11/28 00:18:36 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -78,7 +78,7 @@ typedef struct isc_socket isc_socket_t; typedef struct isc_socketevent isc_socketevent_t; /*%< Socket Event */ typedef struct isc_socketmgr isc_socketmgr_t; /*%< Socket Manager */ typedef struct isc_stats isc_stats_t; /*%< Statistics */ -#if defined(_WIN32) && !defined(_WIN64) +#if defined(_WIN32) && !defined(_WIN64) || !defined(_LP64) typedef int_fast32_t isc_statscounter_t; /*%< Statistics Counter */ #else typedef int_fast64_t isc_statscounter_t;