mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-02 16:40:29 +03:00
Add the --with-private-namespace option.
Add the --with-private-namespace option to make it possible to work around library-private symbols being exposed in static libraries.
This commit is contained in:
parent
f9a8edbb50
commit
746e77a06b
5 changed files with 228 additions and 4 deletions
|
|
@ -18,6 +18,15 @@
|
|||
#undef JEMALLOC_P
|
||||
#endif
|
||||
|
||||
/*
|
||||
* JEMALLOC_PRIVATE_NAMESPACE is used as a prefix for all library-private APIs.
|
||||
* For shared libraries, symbol visibility mechanisms prevent these symbols
|
||||
* from being exported, but for static libraries, naming collisions are a real
|
||||
* possibility.
|
||||
*/
|
||||
#undef JEMALLOC_PRIVATE_NAMESPACE
|
||||
#undef JEMALLOC_N
|
||||
|
||||
/*
|
||||
* Hyper-threaded CPUs may need a special instruction inside spin loops in
|
||||
* order to yield to another virtual CPU.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue