aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/jemalloc/hack.h
blob: 160b79bebefad3763253361fe7c265e3d69b03af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
 
#include <sys/types.h> 
 
#if defined(__cplusplus) 
extern "C" { 
#endif 
 
#define AcquireAdaptiveLockSlow AllocAcquireAdaptiveLockSlow 
#define SchedYield AllocSchedYield 
#define ThreadYield AllocThreadYield 
#define NSystemInfo NAllocSystemInfo 
 
#ifdef _MSC_VER
#   define __restrict__ __restrict
#   define JEMALLOC_EXPORT
#endif

#if defined(__cplusplus) 
}; 
#endif