Commit 2a817cdb authored by Martin T. Sandsmark's avatar Martin T. Sandsmark Committed by Rémi Denis-Courmont

use _exit() instead of exit() when checking CPU capabilities

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent fce620e8
......@@ -119,7 +119,7 @@ uint32_t CPUCapabilities( void )
if( pid == 0 ) \
{ \
__asm__ __volatile__ ( code : : ); \
exit(0); \
_exit(0); \
} \
if( check_OS_capability((name), pid )) \
i_capabilities |= (flag); \
......@@ -273,7 +273,7 @@ out:
"vand %%v0, %%v0, %%v0"
:
: "r" (-1));
exit(0);
_exit(0);
}
if( check_OS_capability( "Altivec", pid ) )
......
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