summaryrefslogtreecommitdiff
path: root/source/lib
diff options
context:
space:
mode:
authorYannick Bergeron <yaberger@ca.ibm.com>2008-08-06 13:23:00 -0400
committerKarolin Seeger <kseeger@samba.org>2008-08-11 16:16:34 +0200
commit476693767c89a97834c3afdb2d2e194d91f9854c (patch)
tree3e368afb334cbfc859e680b85dada4a3031b0a94 /source/lib
parent53151468ccc775498e6944242f1822d5a482bc00 (diff)
downloadsamba-476693767c89a97834c3afdb2d2e194d91f9854c.tar.gz
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 f6ffc95a363d3ed8aa480ac25e440d2472551891)
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/replace/libreplace_cc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/replace/libreplace_cc.m4 b/source/lib/replace/libreplace_cc.m4
index bed05582d8d..30c63f2f058 100644
--- a/source/lib/replace/libreplace_cc.m4
+++ b/source/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,