0001-src-core-paths-paths.cpp-fix-powerpc-build.patch 1.1 KB

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