1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-29 12:55:59 +02:00
Beef/BeefRT/gperftools/src/tcconfig.h

21 lines
457 B
C
Raw Normal View History

2019-08-23 11:56:54 -07:00
#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"
2019-10-15 17:27:09 -07:00
#elif defined BF_PLATFORM_MACOS
2019-08-23 11:56:54 -07:00
#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