[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Thu Feb 27 21:44:02 UTC 2020
The branch, master has been updated
via 7678032272b Undef ARRAY_SIZE, if defined, before define to avoid compilation warnings
from cb37caaa56a selftest: Run libsmbclient with and without unix extensions
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7678032272b36e7c502a824340e9f16a57243e50
Author: Peter Eriksson <pen at lysator.liu.se>
Date: Thu Feb 27 20:54:52 2020 +0100
Undef ARRAY_SIZE, if defined, before define to avoid compilation warnings
Signed-off-by: Peter Eriksson <pen at lysator.liu.se>
Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Gary Lockyer <<gary at catalyst.net.nz>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Thu Feb 27 21:43:29 UTC 2020 on sn-devel-184
-----------------------------------------------------------------------
Summary of changes:
lib/replace/replace.h | 3 +++
1 file changed, 3 insertions(+)
Changeset truncated at 500 lines:
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 3f6b1380e0c..177be37edbe 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -844,6 +844,9 @@ typedef unsigned long long ptrdiff_t ;
/**
* Work out how many elements there are in a static array.
*/
+#ifdef ARRAY_SIZE
+#undef ARRAY_SIZE
+#endif
#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
/**
--
Samba Shared Repository
More information about the samba-cvs
mailing list