Package: thunderbird / 1:60.8.0-1~deb9u1

porting-kfreebsd-hurd/Fix-GNU-non-Linux-failure-to-build-because-of-ipc-ch.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Mike Hommey <mh@glandium.org>
Date: Fri, 18 Nov 2011 11:28:30 +0100
Subject: Fix GNU/non-Linux failure to build because of
 ipc/chromium/src/base/dir_reader_posix.h

---
 ipc/chromium/src/base/dir_reader_posix.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipc/chromium/src/base/dir_reader_posix.h b/ipc/chromium/src/base/dir_reader_posix.h
index feb4466..8c8e4f6 100644
--- a/ipc/chromium/src/base/dir_reader_posix.h
+++ b/ipc/chromium/src/base/dir_reader_posix.h
@@ -20,7 +20,7 @@
 // seems worse than falling back to enumerating all file descriptors so we will
 // probably never implement this on the Mac.
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && defined(__linux__)
 #include "base/dir_reader_linux.h"
 #elif defined(OS_BSD) && !defined(__GLIBC__)
 #include "base/dir_reader_bsd.h"
@@ -30,7 +30,7 @@
 
 namespace base {
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && defined(__linux__)
 typedef DirReaderLinux DirReaderPosix;
 #elif defined(OS_BSD) && !defined(__GLIBC__)
 typedef DirReaderBSD DirReaderPosix;