Move __func__ to jemalloc_internal_macros.h
test/integration/aligned_alloc.c needs it.
This commit is contained in:
parent
a9df1ae622
commit
22bc570fba
@ -46,7 +46,6 @@
|
|||||||
typedef intptr_t ssize_t;
|
typedef intptr_t ssize_t;
|
||||||
# define PATH_MAX 1024
|
# define PATH_MAX 1024
|
||||||
# define STDERR_FILENO 2
|
# define STDERR_FILENO 2
|
||||||
# define __func__ __FUNCTION__
|
|
||||||
/* Disable warnings about deprecated system functions */
|
/* Disable warnings about deprecated system functions */
|
||||||
# pragma warning(disable: 4996)
|
# pragma warning(disable: 4996)
|
||||||
#else
|
#else
|
||||||
|
@ -49,3 +49,7 @@
|
|||||||
#ifndef JEMALLOC_HAS_RESTRICT
|
#ifndef JEMALLOC_HAS_RESTRICT
|
||||||
# define restrict
|
# define restrict
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
# define __func__ __FUNCTION__
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user