Trying to compile on amiga with vbcc.

Removed some useless unixisms.
Still not working.
Hope I did not break too much things.




git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1035 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-09-19 22:41:51 +00:00
parent 7a19586b2d
commit b12423d03b
14 changed files with 111 additions and 60 deletions

11
init.c
View File

@@ -25,11 +25,14 @@
#if defined(__WIN32__) || defined(__linux__)
#define GRAFX2_CATCHES_SIGNALS
#endif
#include <fcntl.h>
#include <stdio.h>
#include <fcntl.h>
//#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#ifndef __VBCC__
#include <unistd.h>
#endif
#include <stdlib.h>
#include <errno.h>
#include <SDL_byteorder.h>
@@ -2465,4 +2468,4 @@ void Init_brush_container(void)
Brush_container[i].Brush = NULL;
}
}
}