0001-Fix-linux-detection-with-buildroot.patch 943 B

12345678910111213141516171819202122232425262728293031
  1. From 1dc4480e5157e7ac8eb0364446787128f0a156aa Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sun, 20 Dec 2015 22:25:52 +0100
  4. Subject: [PATCH 1/1] Fix linux detection with buildroot
  5. Inspired by
  6. http://lists.busybox.net/pipermail/buildroot/2015-July/133312.html
  7. Patch sent upstream: https://github.com/kodi-adsp/asplib/pull/2
  8. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  9. ---
  10. asplib_utils/os/asplib_base_os.h | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/asplib_utils/os/asplib_base_os.h b/asplib_utils/os/asplib_base_os.h
  13. index a2d3b98..9a90b54 100644
  14. --- a/asplib_utils/os/asplib_base_os.h
  15. +++ b/asplib_utils/os/asplib_base_os.h
  16. @@ -27,7 +27,7 @@
  17. #define TARGET_WINDOWS
  18. #endif
  19. #include "windows/windows_definitions.h"
  20. -#elif defined(__gnu_linux__)
  21. +#elif (defined(__gnu_linux__) || defined(__linux__))
  22. #if !defined(TARGET_WINDOWS)
  23. #define TARGET_LINUX
  24. #endif
  25. --
  26. 2.6.4