From d5939a20fd8f506225296ebe7de0180c7adb088e Mon Sep 17 00:00:00 2001
From: Gilles Depeyrot <gilles_depeyrot@mac.com>
Date: Sun, 18 Nov 2001 12:32:15 +0000
Subject: [PATCH] replaced HAVE_MALLOC_H with !__DARWIN__

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 utils/HelpGen/src/ifcontext.cpp    | 2 +-
 utils/HelpGen/src/scriptbinder.cpp | 2 +-
 utils/HelpGen/src/srcparser.cpp    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/HelpGen/src/ifcontext.cpp b/utils/HelpGen/src/ifcontext.cpp
index be08a59330..295aab86dc 100644
--- a/utils/HelpGen/src/ifcontext.cpp
+++ b/utils/HelpGen/src/ifcontext.cpp
@@ -24,7 +24,7 @@
 #include "wx/wx.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
+#ifndef __DARWIN__
 #  include <malloc.h>
 #endif
 #include <stdio.h>
diff --git a/utils/HelpGen/src/scriptbinder.cpp b/utils/HelpGen/src/scriptbinder.cpp
index cfdc15fbaf..f20a5f675e 100644
--- a/utils/HelpGen/src/scriptbinder.cpp
+++ b/utils/HelpGen/src/scriptbinder.cpp
@@ -20,7 +20,7 @@
 #include "wx/wx.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
+#ifndef __DARWIN__
 #  include <malloc.h>
 #endif
 #include <string.h>
diff --git a/utils/HelpGen/src/srcparser.cpp b/utils/HelpGen/src/srcparser.cpp
index 2875d44040..5406889401 100644
--- a/utils/HelpGen/src/srcparser.cpp
+++ b/utils/HelpGen/src/srcparser.cpp
@@ -24,7 +24,7 @@
 #include "wx/wx.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
+#ifndef __DARWIN__
 #  include <malloc.h>
 #endif
 #include <stdio.h>
-- 
2.47.2