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

View File

@@ -350,7 +350,8 @@ typedef struct T_Page
byte Background_transparent; ///< Boolean, true if Layer 0 should have transparent pixels
byte Transparent_color; ///< Index of transparent color. 0 to 255.
byte Nb_layers; ///< Number of layers
byte * Image[0]; ///< Pixel data for the (first layer of) image.
byte * Image[]; ///< Pixel data for the (first layer of) image.
// Define as Image[0] if you have an old gcc which is not C99.
// No field after Image[] ! Dynamic layer allocation for Image[1], [2] etc.
} T_Page;