]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
autoheader regeneration
authorShawn Routhier <sar@isc.org>
Tue, 2 Feb 2010 00:44:52 +0000 (00:44 +0000)
committerShawn Routhier <sar@isc.org>
Tue, 2 Feb 2010 00:44:52 +0000 (00:44 +0000)
includes/config.h.in

index fa040918a127e824c8a4ce9cc1bb777007a7aa06..3b1cf56499a29a159d9c803730e873d69e55c084 100644 (file)
 /* 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