summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-22 05:26:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:02 -0500
commitca1951158416c06b119504886147c60e93350ad6 (patch)
treef48e4c340ef30f074442f65a9a3ffcb3710cca03
parent0705d64035fc4aa20eddc74b269393ce7896f7b8 (diff)
downloadsamba-ca1951158416c06b119504886147c60e93350ad6.tar.gz
samba-ca1951158416c06b119504886147c60e93350ad6.tar.bz2
samba-ca1951158416c06b119504886147c60e93350ad6.zip
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)
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
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}