diff options
author | Yannick Bergeron <yaberger@ca.ibm.com> | 2008-08-06 13:23:00 -0400 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-08-06 14:01:47 -0700 |
commit | 704f6c89cb38504d871d94c8eaad961687ec0728 (patch) | |
tree | 12fd32fc37216e13e01801b6d33ca05f49cc8319 | |
parent | 8c8d7ff82300e729cb513810d9ec5231720765d4 (diff) | |
download | samba-704f6c89cb38504d871d94c8eaad961687ec0728.tar.gz samba-704f6c89cb38504d871d94c8eaad961687ec0728.tar.xz samba-704f6c89cb38504d871d94c8eaad961687ec0728.zip |
Solve an IBM XL C/C++ compiler error encountered in get_exit_code() auth_errors array initialization in client/smbspool.c
(This used to be commit b45e7fabc64e699e4fa013ef15f98a004dae3f32)
-rw-r--r-- | source3/lib/replace/libreplace_cc.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/replace/libreplace_cc.m4 b/source3/lib/replace/libreplace_cc.m4 index bed05582d8d..30c63f2f058 100644 --- a/source3/lib/replace/libreplace_cc.m4 +++ b/source3/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, |