aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/utils.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-08-14 12:04:51 +0200
committerBjörn Gustavsson <[email protected]>2010-08-17 11:01:26 +0200
commit1abdce9f382edd044142fe2a9b2a2dd02ff85225 (patch)
tree8e281fd04b7069a937e7409eac50cb409f124190 /erts/emulator/beam/utils.c
parent1d77bf934c95ee9e1bad65946d1a8c4749bb72db (diff)
downloadotp-1abdce9f382edd044142fe2a9b2a2dd02ff85225.tar.gz
otp-1abdce9f382edd044142fe2a9b2a2dd02ff85225.tar.bz2
otp-1abdce9f382edd044142fe2a9b2a2dd02ff85225.zip
erts: Remove broken elib_malloc
elib_malloc is an alternate memory allocator that is no longer possible to build.
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r--erts/emulator/beam/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index 25472ef47a..ab5e8b5d4a 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -48,11 +48,11 @@
#undef M_MMAP_THRESHOLD
#undef M_MMAP_MAX
-#if !defined(ELIB_ALLOC_IS_CLIB) && defined(__GLIBC__) && defined(HAVE_MALLOC_H)
+#if defined(__GLIBC__) && defined(HAVE_MALLOC_H)
#include <malloc.h>
#endif
-#if defined(ELIB_ALLOC_IS_CLIB) || !defined(HAVE_MALLOPT)
+#if !defined(HAVE_MALLOPT)
#undef HAVE_MALLOPT
#define HAVE_MALLOPT 0
#endif