0008-src-misc-fix-compilation-for-OS-without-fork.patch 857 B

1234567891011121314151617181920212223242526
  1. From afe7675da0f9faa938ce101629666ac573ec5fab Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Thu, 10 Sep 2015 19:58:40 +0200
  4. Subject: [PATCH 08/13] src/misc: fix compilation for OS without fork()
  5. ---
  6. src/misc/cpu.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/misc/cpu.c b/src/misc/cpu.c
  9. index 4a5f2a0..79b28e4 100644
  10. --- a/src/misc/cpu.c
  11. +++ b/src/misc/cpu.c
  12. @@ -63,7 +63,7 @@ static uint32_t cpu_flags;
  13. #if defined (__i386__) || defined (__x86_64__) || defined (__powerpc__) \
  14. || defined (__ppc__) || defined (__ppc64__) || defined (__powerpc64__)
  15. -# if !defined (_WIN32) && !defined (__OS2__)
  16. +# if !defined (_WIN32) && !defined (__OS2__) && !defined (__APPLE__)
  17. static bool vlc_CPU_check (const char *name, void (*func) (void))
  18. {
  19. pid_t pid = fork();
  20. --
  21. 2.8.1