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 <[email protected]>
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 <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
Reviewed-by: Gary Lockyer <<[email protected]>
Autobuild-User(master): Jeremy Allison <[email protected]>
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