mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-30 08:37:29 +03:00
Move __func__ to jemalloc_internal_macros.h
test/integration/aligned_alloc.c needs it.
This commit is contained in:
parent
a9df1ae622
commit
22bc570fba
2 changed files with 4 additions and 1 deletions
|
|
@ -46,7 +46,6 @@
|
|||
typedef intptr_t ssize_t;
|
||||
# define PATH_MAX 1024
|
||||
# define STDERR_FILENO 2
|
||||
# define __func__ __FUNCTION__
|
||||
/* Disable warnings about deprecated system functions */
|
||||
# pragma warning(disable: 4996)
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -49,3 +49,7 @@
|
|||
#ifndef JEMALLOC_HAS_RESTRICT
|
||||
# define restrict
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define __func__ __FUNCTION__
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue