summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorYannick Bergeron <yaberger@ca.ibm.com>2008-08-06 13:23:00 -0400
committerStefan Metzmacher <metze@samba.org>2008-09-14 18:26:59 +0200
commitb3b28162b66117421996008dce29ca25b342e20a (patch)
tree832814b0ef01a390c67412027b57f5f00b7afae2 /source4/lib/replace
parent2bb8ef091c7ea0e77d221d3bef467ed4dfb3d441 (diff)
downloadsamba-b3b28162b66117421996008dce29ca25b342e20a.tar.gz
samba-b3b28162b66117421996008dce29ca25b342e20a.tar.bz2
samba-b3b28162b66117421996008dce29ca25b342e20a.zip
Solve an IBM XL C/C++ compiler error encountered in get_exit_code() auth_errors array initialization in client/smbspool.c
(cherry picked from commit b45e7fabc64e699e4fa013ef15f98a004dae3f32) (This used to be commit 661f8e166118d257ab32a30392cd616db097bc4c)
Diffstat (limited to 'source4/lib/replace')
-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,