1From d5d528e7562f358b9564e64cea0678020c51479a Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Sun, 15 Mar 2020 18:56:19 +0100
4Subject: [PATCH] src/core/paths/paths.cpp: fix powerpc build
5
6Fix the following build failure on powerpc:
7
8/home/test/autobuild/run/instance-2/output-1/build/linphone-4.3.1/src/core/paths/paths.cpp:32:3: error: #error "Unsupported system."
9  #error "Unsupported system."
10   ^~~~~
11
12Fixes:
13 - http://autobuild.buildroot.org/results/d90bca02c2771df8dfbf39892d529fb5f9069656
14
15Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
16---
17 src/core/paths/paths.cpp | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/src/core/paths/paths.cpp b/src/core/paths/paths.cpp
21index 0442282fe..2c6508a51 100644
22--- a/src/core/paths/paths.cpp
23+++ b/src/core/paths/paths.cpp
24@@ -26,7 +26,7 @@
25 	#include "paths-android.h"
26 #elif defined(_WIN32)
27 	#include "paths-windows.h"
28-#elif defined(__linux)
29+#elif defined(__linux) || defined(__linux__)
30 	#include "paths-linux.h"
31 #else
32 	#error "Unsupported system."
33--
342.25.1
35
36