include/SDL_test_images.h
changeset 7051 cf773d8091c7
parent 6885 700f1b25f77f
child 7053 187225ae13e5
--- a/include/SDL_test_images.h	Wed Apr 03 11:34:21 2013 -0400
+++ b/include/SDL_test_images.h	Wed Apr 03 11:38:05 2013 -0400
@@ -53,11 +53,7 @@
   int width;
   int height;
   unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ 
-#if (defined(__GNUC__) && (__GNUC__ <= 2))
-  unsigned char pixel_data[0];
-#else
-  unsigned char pixel_data[];
-#endif
+  const unsigned char *pixel_data;
 } SDLTest_SurfaceImage_t;
 
 /* Test images */