mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 03:28:02 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
21
BeefRT/gperftools/src/tcconfig.h
Normal file
21
BeefRT/gperftools/src/tcconfig.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "BFPlatform.h"
|
||||
|
||||
#ifndef TCMALLOC_NAMESPACE
|
||||
#define TCMALLOC_NAMESPACE tcmalloc
|
||||
#endif
|
||||
|
||||
#ifdef BF_PLATFORM_WINDOWS
|
||||
#ifdef _WIN64
|
||||
#define __x86_64__
|
||||
#endif
|
||||
#include "windows/config.h"
|
||||
#include "windows/gperftools/tcmalloc.h"
|
||||
#elif defined BF_PLATFORM_OSX
|
||||
#include "osx/config.h"
|
||||
#include "osx/gperftools/tcmalloc.h"
|
||||
#elif defined BF_PLATFORM_IOS
|
||||
#include "ios/config.h"
|
||||
#include "ios/gperftools/tcmalloc.h"
|
||||
#else
|
||||
#error Platform not handled
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue