Commit 5c07e45d authored by Christophe Massiot's avatar Christophe Massiot

Fix for sparc.

parent 112b3738
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* and spawn threads. * and spawn threads.
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: main.c,v 1.171 2002/03/26 23:08:40 gbazin Exp $ * $Id: main.c,v 1.172 2002/03/28 21:21:51 massiot Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -1322,6 +1322,11 @@ static u32 CPUCapabilities( void ) ...@@ -1322,6 +1322,11 @@ static u32 CPUCapabilities( void )
return( i_capabilities ); return( i_capabilities );
#elif defined( __sparc__ )
i_capabilities |= CPU_CAPABILITY_FPU;
return( i_capabilities );
#else #else
/* default behaviour */ /* default behaviour */
return( i_capabilities ); return( i_capabilities );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment