File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ typedef bool bool_bf;
94
94
#endif
95
95
96
96
#ifdef DARWIN_OS
97
- #ifdef emacs
97
+ #if defined emacs && !defined CANNOT_DUMP
98
98
#define malloc unexec_malloc
99
99
#define realloc unexec_realloc
100
100
#define free unexec_free
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ static
137
137
bool might_dump ;
138
138
#endif
139
139
140
- #ifdef DARWIN_OS
140
+ #if defined DARWIN_OS && !defined CANNOT_DUMP
141
141
extern void unexec_init_emacs_zone (void );
142
142
#endif
143
143
@@ -742,7 +742,7 @@ main (int argc, char **argv)
742
742
#endif
743
743
744
744
/* If using unexmacosx.c (set by s/darwin.h), we must do this. */
745
- #ifdef DARWIN_OS
745
+ #if defined DARWIN_OS && !defined CANNOT_DUMP
746
746
if (!initialized )
747
747
unexec_init_emacs_zone ();
748
748
#endif
You can’t perform that action at this time.
0 commit comments