]> git.sesse.net Git - vlc/commitdiff
misc/cpu.c: another BeOS compile fix
authorEric Petit <titer@videolan.org>
Thu, 20 May 2004 01:49:08 +0000 (01:49 +0000)
committerEric Petit <titer@videolan.org>
Thu, 20 May 2004 01:49:08 +0000 (01:49 +0000)
src/misc/cpu.c

index 4b91dd34bb5f14fbee06e086eba0e85db21227cb..4a460307fdb62a2a6a2cc528cb120695e8f2a4e5 100644 (file)
@@ -2,7 +2,7 @@
  * cpu.c: CPU detection code
  *****************************************************************************
  * Copyright (C) 1998-2004 VideoLAN
- * $Id: cpu.c,v 1.14 2004/02/01 23:02:02 sigmunau Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Christophe Massiot <massiot@via.ecp.fr>
@@ -187,7 +187,7 @@ uint32_t CPUCapabilities( void )
     }
     if( i_edx & 0x04000000 )
     {
-#   ifdef CAN_COMPILE_SSE
+#   if defined(CAN_COMPILE_SSE) && !defined(SYS_BEOS)
         /* We test if OS supports the SSE instructions */
         psz_capability = "SSE2";
         i_illegal = 0;