summaryrefslogtreecommitdiff
path: root/inputmethod/mozc-server/patches/patch-third__party_abseil-cpp_absl_base_config.h
blob: e704b03a8f464a7588a187877b2b83394a6bbc9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-third__party_abseil-cpp_absl_base_config.h,v 1.1 2021/02/15 14:50:23 ryoon Exp $

* Support NetBSD.

--- third_party/abseil-cpp/absl/base/config.h.orig	2021-02-15 05:04:34.000000000 +0000
+++ third_party/abseil-cpp/absl/base/config.h
@@ -364,7 +364,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMES
 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) ||   \
     defined(__ros__) || defined(__native_client__) || defined(__asmjs__) || \
     defined(__wasm__) || defined(__Fuchsia__) || defined(__sun) || \
-    defined(__ASYLO__)
+    defined(__ASYLO__) || defined(__NetBSD__)
 #define ABSL_HAVE_MMAP 1
 #endif