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

View File

@@ -21,6 +21,10 @@
/// Functions and macros for tracing and error reporting.
//////////////////////////////////////////////////////////////////////////////
#ifndef __func__
#define __func__ "stupid compiler !"
#endif
/// Prints the source filename, line number, function name, a string and an integer.
#define DEBUG(y,z) printf("%s %d %s | %s : %d###\n",__FILE__,__LINE__,__func__,y,(unsigned int)z)