summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace_cc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/libreplace_cc.m4')
-rw-r--r--source4/lib/replace/libreplace_cc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index bed05582d8..30c63f2f05 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -167,7 +167,8 @@ AC_CACHE_CHECK([for immediate structures],libreplace_cv_immediate_structures,[
FOOBAR y;
} f2[] = {
{FOO_ONE}
- };
+ };
+ static const FOOBAR f3[] = {FOO_ONE};
],
libreplace_cv_immediate_structures=yes,
libreplace_cv_immediate_structures=no,