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:
3
struct.h
3
struct.h
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user