[project @ 2001-08-29 17:24:25 by qrczak]
authorqrczak <unknown>
Wed, 29 Aug 2001 17:24:25 +0000 (17:24 +0000)
committerqrczak <unknown>
Wed, 29 Aug 2001 17:24:25 +0000 (17:24 +0000)
Remove annoying warnings about using a deprecated extension
when compiling via gcc-3.0.

#if __GNUC__ >= 3
/* Assume that a flexible array member at the end of a struct
 * can be defined thus: T arr[]; */
#define FLEXIBLE_ARRAY
#else
/* Assume that it must be defined thus: T arr[0]; */
#define FLEXIBLE_ARRAY 0
#endif

A test program (hsking) compiled fine with gcc-3.0!


No differences found