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

--- base/port.h.orig	2021-02-15 05:04:33.000000000 +0000
+++ base/port.h
@@ -69,6 +69,10 @@ using std::string;
 #define MOZC_OS_DEFINED
 #endif  // OS_WASM
 
+#ifdef OS_NETBSD
+#define MOZC_OS_DEFINED
+#endif  // OS_NETBSD
+
 #ifndef MOZC_OS_DEFINED
 #error "OS_XXX (e.g., OS_WIN) must be defined."
 #endif  // !MOZC_OS_DEFINED