mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00

Added PICLevel, RelocKind DarwinCommon/LinuxCommon/AndroidCommon merged into PosixCommon Mangling changed to avoid '@'
32 lines
No EOL
565 B
C++
32 lines
No EOL
565 B
C++
#pragma once
|
|
|
|
#define BFSTDCALL
|
|
|
|
#include "../darwin/DarwinCommon.h"
|
|
#include <string>
|
|
|
|
#define BF_PLATFORM_MACOS
|
|
#define BF_PLATFORM_POSIX
|
|
#define BF_PLATFORM_DARWIN
|
|
#define BF_PLATFORM_NAME "BF_PLATFORM_MACOS"
|
|
|
|
#define BF_IMPORT extern "C"
|
|
|
|
#ifdef BFSYSLIB_DYNAMIC
|
|
#define BF_EXPORT extern "C"
|
|
#define BF_CALLTYPE
|
|
#else
|
|
#define BF_EXPORT extern "C"
|
|
#define BF_CALLTYPE
|
|
#define BF_RESOURCES_REL_DIR "../Resources"
|
|
#endif
|
|
|
|
#ifdef BF32
|
|
#define BF_REGISTER_COUNT 7
|
|
#else
|
|
#define BF_REGISTER_COUNT 15
|
|
#endif
|
|
|
|
#define BF_DEBUG_BREAK()
|
|
|
|
#include "../PlatformInterface.h" |