Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / xmalloc.h
index 2c0a109..5ae8294 100644 (file)
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -40,7 +40,7 @@ extern PTR_T xmalloc __P((size_t));
 extern PTR_T xrealloc __P((void *, size_t));
 extern void xfree __P((void *));
 
-#ifdef USING_BASH_MALLOC
+#if defined(USING_BASH_MALLOC) && !defined (DISABLE_MALLOC_WRAPPERS)
 extern PTR_T sh_xmalloc __P((size_t, const char *, int));
 extern PTR_T sh_xrealloc __P((void *, size_t, const char *, int));
 extern void sh_xfree __P((void *, const char *, int));