From 99708e2d52efad1c90327788346662d332994798 Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Thu, 4 Feb 2010 12:43:37 +0000
Subject: [PATCH] remove machine dependend define for HAVE_MALLOC_H

---
 src/dmemory.c | 5 +----
 src/file.c    | 7 -------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/src/dmemory.c b/src/dmemory.c
index b911b407f..73ddd246d 100644
--- a/src/dmemory.c
+++ b/src/dmemory.c
@@ -12,10 +12,7 @@
 
 #if ! defined (HAVE_CONFIG_H)
 #if ! defined (HAVE_MALLOC_H)
-/*
-#  if defined (__sun) || defined (__i386) || defined (__ia64) || defined (SX)
-*/
-#  if defined (__ia64) || defined (SX)
+#  if defined defined (SX)
 #    define  HAVE_MALLOC_H
 #  endif
 #endif
diff --git a/src/file.c b/src/file.c
index b78d1f1c8..0b5e3c4af 100644
--- a/src/file.c
+++ b/src/file.c
@@ -39,13 +39,6 @@ char *strdup(const char *s);
 */
 #endif
 
-/*
-#if ! defined (HAVE_MMAP)
-#  if defined (__sun) || defined (__i386) || defined (__ia64)
-#    define HAVE_MMAP
-#  endif
-#endif
-*/
 
 #if defined (HAVE_MMAP)
 #  include <sys/mman.h> /* mmap() is defined in this header */
-- 
GitLab