Commit 698d32e2 authored by Dan Nicolaescu's avatar Dan Nicolaescu

Make it possible to build with GCC-4.6+ -O2 -flto.

* src/emacs.c (__malloc_initialize_hook): Mark as EXTERNALLY_VISIBLE.
parent 2403c841
2011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
Make it possible to build with GCC-4.6+ -O2 -flto.
* emacs.c (__malloc_initialize_hook): Mark as EXTERNALLY_VISIBLE.
2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuf.c (get_minibuffer, read_minibuf_unwind):
......
......@@ -678,7 +678,7 @@ malloc_initialize_hook (void)
}
}
void (*__malloc_initialize_hook) (void) = malloc_initialize_hook;
void (*__malloc_initialize_hook) (void) EXTERNALLY_VISIBLE = malloc_initialize_hook;
#endif /* DOUG_LEA_MALLOC */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment