[vlc-commits] cpu check: use HAVE_FORK where applicable

Jean-Baptiste Kempf git at videolan.org
Sat Nov 19 22:30:13 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Nov 19 22:29:29 2016 +0100| [7d4761c540e2da66cd651e5fd9df34426f6c40a3] | committer: Jean-Baptiste Kempf

cpu check: use HAVE_FORK where applicable

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d4761c540e2da66cd651e5fd9df34426f6c40a3
---

 src/misc/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 28f127a..2bc082e 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -63,7 +63,7 @@ static uint32_t cpu_flags;
 
 #if defined (__i386__) || defined (__x86_64__) || defined (__powerpc__) \
  || defined (__ppc__) || defined (__ppc64__) || defined (__powerpc64__)
-# if !defined (_WIN32) && !defined (__OS2__)
+# if defined (HAVE_FORK)
 static bool vlc_CPU_check (const char *name, void (*func) (void))
 {
     pid_t pid = fork();



More information about the vlc-commits mailing list