From ca1951158416c06b119504886147c60e93350ad6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Sep 2006 05:26:26 +0000 Subject: r18812: newer compilers don't allow non consts in static arrays give us a chance to detect NTSTATUS vs. WERROR bugs... metze (This used to be commit 27181b675e6134979c4babd4497d9b995caba0ab) --- source3/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 1efdaad257..624587573a 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1001,7 +1001,7 @@ AC_CACHE_CHECK([for immediate structures],samba_cv_immediate_structures, [ #define X_FOOBAR(x) ((FOOBAR) { x }) #define FOO_ONE X_FOOBAR(1) FOOBAR f = FOO_ONE; - static struct { + struct { FOOBAR y; } f2[] = { {FOO_ONE} -- cgit