mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Moved the CPU/FPU type tests into the respective linker
libraries. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14867 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdlib_machine_test.c,v 1.3 2005-03-07 11:16:43 obarthel Exp $
|
||||
* $Id: stdlib_machine_test.c,v 1.4 2005-03-07 16:56:36 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -57,6 +57,17 @@ __machine_test(void)
|
||||
}
|
||||
#endif /* M68020 */
|
||||
|
||||
#if defined(M68881_FLOATING_POINT_SUPPORT)
|
||||
{
|
||||
if(FLAG_IS_CLEAR(((struct ExecBase *)SysBase)->AttnFlags,AFF_68881))
|
||||
{
|
||||
__show_error("This program requires a floating point processor.");
|
||||
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
#endif /* M68881_FLOATING_POINT_SUPPORT */
|
||||
|
||||
result = OK;
|
||||
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user