1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Cleaned up the 68k build makefile, so that the CPU and FPU

tests and the error message display can run safely even
  on plain 68000 machines. This won't work for the 32 bit small
  data model, which implies 68020 code, but so there...


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14866 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-03-07 14:04:09 +00:00
parent ef43011783
commit d33e3e909e
5 changed files with 114 additions and 30 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib_main.c,v 1.12 2005-03-07 11:16:43 obarthel Exp $
* $Id: stdlib_main.c,v 1.13 2005-03-07 14:04:09 obarthel Exp $
*
* :ts=4
*
@ -307,6 +307,7 @@ _main(void)
struct WBStartup * startup_message;
struct Process * this_process;
APTR old_window_pointer = NULL;
BOOL old_window_pointer_valid = FALSE;
int return_code = RETURN_FAIL;
ULONG current_stack_size;
int os_version;
@ -388,6 +389,8 @@ _main(void)
__set_process_window(old_window_pointer);
}
old_window_pointer_valid = TRUE;
/* If a callback was provided which can fill us in on which
minimum stack size should be used, invoke it now and
store its result in the global __stack_size variable. */
@ -557,7 +560,7 @@ _main(void)
out:
if(DOSBase != NULL)
if(old_window_pointer_valid)
__set_process_window(old_window_pointer);
if(child_process == NULL)