diff options
author | Thomas Klausner <tk@giga.or.at> | 2022-03-08 22:01:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 16:01:16 -0500 |
commit | c5a424a2a21005660b182516eb7a079cd8021699 (patch) | |
tree | cdae460da858ad3460a6a3dd48ceb358096d5702 /absl/base | |
parent | f9b99adeddbe71208e65cead5f349add7aa9c9b5 (diff) |
Add NetBSD support (#1121)
Diffstat (limited to 'absl/base')
-rw-r--r-- | absl/base/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/base/config.h b/absl/base/config.h index acbdb75c..cd7781c0 100644 --- a/absl/base/config.h +++ b/absl/base/config.h @@ -414,7 +414,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || defined(_AIX) || defined(__ros__) || defined(__native_client__) || \ defined(__asmjs__) || defined(__wasm__) || defined(__Fuchsia__) || \ defined(__sun) || defined(__ASYLO__) || defined(__myriad2__) || \ - defined(__HAIKU__) || defined(__OpenBSD__) + defined(__HAIKU__) || defined(__OpenBSD__) || defined(__NetBSD__) #define ABSL_HAVE_MMAP 1 #endif @@ -425,7 +425,8 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #ifdef ABSL_HAVE_PTHREAD_GETSCHEDPARAM #error ABSL_HAVE_PTHREAD_GETSCHEDPARAM cannot be directly set #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \ - defined(_AIX) || defined(__ros__) || defined(__OpenBSD__) + defined(_AIX) || defined(__ros__) || defined(__OpenBSD__) || \ + defined(__NetBSD__) #define ABSL_HAVE_PTHREAD_GETSCHEDPARAM 1 #endif |