Some fixes to make the amiga build work better. I finally installed gcc on my amiga, so there is a
hope of getting a working build. Everything compiles but fails when linking, because I've not figured out how to install SDL. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1464 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
src/init.c
10
src/init.c
@@ -29,6 +29,12 @@
|
||||
#if defined(__WIN32__) || defined(__linux__)
|
||||
#define GRAFX2_CATCHES_SIGNALS
|
||||
#endif
|
||||
|
||||
#if defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__) || defined(__amigaos__)
|
||||
#include <proto/exec.h>
|
||||
#include <proto/dos.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
//#include <fcntl.h>
|
||||
#include <string.h>
|
||||
@@ -44,10 +50,6 @@
|
||||
#if defined(__WIN32__)
|
||||
#include <windows.h> // GetLogicalDrives(), GetDriveType(), DRIVE_*
|
||||
#endif
|
||||
#if defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__) || defined(__amigaos__)
|
||||
#include <proto/exec.h>
|
||||
#include <proto/dos.h>
|
||||
#endif
|
||||
#ifdef GRAFX2_CATCHES_SIGNALS
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user