mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-18 10:56:20 +03:00
Remove the VOID macro
Windows headers define a VOID macro.
This commit is contained in:
parent
8b49971d0c
commit
af04b744bd
1 changed files with 2 additions and 6 deletions
|
|
@ -842,11 +842,6 @@ ctl_boot(void)
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
#define VOID() do { \
|
||||
READONLY(); \
|
||||
WRITEONLY(); \
|
||||
} while (0)
|
||||
|
||||
#define READ(v, t) do { \
|
||||
if (oldp != NULL && oldlenp != NULL) { \
|
||||
if (*oldlenp != sizeof(t)) { \
|
||||
|
|
@ -1049,7 +1044,8 @@ thread_tcache_flush_ctl(const size_t *mib, size_t miblen, void *oldp,
|
|||
if (config_tcache == false)
|
||||
return (ENOENT);
|
||||
|
||||
VOID();
|
||||
READONLY();
|
||||
WRITEONLY();
|
||||
|
||||
tcache_flush();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue