summaryrefslogtreecommitdiff
path: root/source3/include/safe_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/safe_string.h')
-rw-r--r--source3/include/safe_string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/safe_string.h b/source3/include/safe_string.h
index df3633d91d..9f908bc145 100644
--- a/source3/include/safe_string.h
+++ b/source3/include/safe_string.h
@@ -32,6 +32,11 @@
#endif /* bcopy */
#define bcopy(src,dest,size) __ERROR__XX__NEVER_USE_BCOPY___;
+#ifdef bzero
+#undef bzero
+#endif /* bzero */
+#define bzero(dest,size) __ERROR__XX__NEVER_USE_BZERO_USE_MEMSET_INSTEAD___;
+
#ifdef strcpy
#undef strcpy
#endif /* strcpy */