Fix all remaining warnings in gp2x build. The compiler is a bit more picky about the includes and feature macros.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1352 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2010-02-16 13:31:29 +00:00
parent 13865a0ade
commit 7fe8d44805
14 changed files with 39 additions and 7 deletions

2
init.c
View File

@@ -22,6 +22,8 @@
along with Grafx2; if not, see <http://www.gnu.org/licenses/>
*/
#define _XOPEN_SOURCE 500
// Signal handler: I activate it for the two platforms who certainly
// support them. Feel free to check with others.
#if defined(__WIN32__) || defined(__linux__)