summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2010-02-02 00:56:12 +0000
committerShawn Routhier <sar@isc.org>2010-02-02 00:56:12 +0000
commitafb4257c0366547ab0bb453aba896197cd79a2df (patch)
treeb14bf7516167a8d04666317ac3c02e8124e189f9 /includes
parentebb16057e1d2b9a5bbfee1e1bd78edbab130d58b (diff)
downloadisc-dhcp-afb4257c0366547ab0bb453aba896197cd79a2df.tar.gz
autoheader regeneration
Diffstat (limited to 'includes')
-rw-r--r--includes/config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/config.h.in b/includes/config.h.in
index fa040918..3b1cf564 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