Skip to content

Commit 6e2a00c

Browse files
committed
Avoid potential redifinitions of HAVE_REMAP
1 parent d194989 commit 6e2a00c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ext/mruby_engine/dlmalloc_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
#define MRUBY_ENGINE_DLMALLOC_CONFIG_H
33

44
#define ONLY_MSPACES 1
5+
6+
// Ruby may also define this
7+
#ifndef HAVE_MREMAP
58
#define HAVE_MREMAP 0
9+
#endif
610
//#define FOOTERS 1
711

812
#include "host.h"

0 commit comments

Comments
 (0)