From: Shawn Routhier Date: Tue, 2 Feb 2010 00:44:52 +0000 (+0000) Subject: autoheader regeneration X-Git-Tag: v4_2_0b1~3^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a69abb6493fd0b02777c65b5f15c7233f6eccdae;p=thirdparty%2Fdhcp.git autoheader regeneration --- diff --git a/includes/config.h.in b/includes/config.h.in index fa040918a..3b1cf5649 100644 --- a/includes/config.h.in +++ b/includes/config.h.in @@ -22,6 +22,15 @@ /* Define to include Failover Protocol support. */ #undef FAILOVER_PROTOCOL +/* Define to nothing if C supports flexible array members, and to 1 if it does + not. That way, with a declaration like `struct s { int n; double + d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 + compilers. When computing the size of such an object, don't use 'sizeof + (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)' + instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with + MSVC and with C++ compilers. */ +#undef FLEXIBLE_ARRAY_MEMBER + /* Define to 1 to use the Berkeley Packet Filter interface code. */ #undef HAVE_BPF