Move MacOS functions to libmacos, disable inline of putchar() enabled by -O2

This commit is contained in:
Laurent Vivier 2005-11-08 02:13:30 +00:00
parent 46132c2af2
commit 9c370d7600
2 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,7 @@
*
*/
#define __NO_INLINE__ /* to avoid inline putchar() */
#include <stdio.h>
#include <string.h>

View File

@ -4,12 +4,16 @@
*
*/
#define __NO_INLINE__
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include <unistd.h>
#include "lowmem.h"
#include <macos/types.h>
#include <macos/gestalt.h>
#include "bank.h"
#include "memory.h"
#if defined(ARCH_M68K)
@ -24,7 +28,6 @@
#endif
#include "arch.h"
#include "misc.h"
#include "glue.h"
#include "load.h"
#include "console.h"
#include "vga.h"