2019-08-23 11:56:54 -07:00
|
|
|
#pragma once
|
|
|
|
|
2019-10-14 14:08:29 -07:00
|
|
|
#define BFSTDCALL
|
2019-08-23 11:56:54 -07:00
|
|
|
|
|
|
|
#include "../darwin/DarwinCommon.h"
|
2019-10-14 14:08:29 -07:00
|
|
|
#include <string>
|
2019-08-23 11:56:54 -07:00
|
|
|
|
2019-10-15 17:27:09 -07:00
|
|
|
#define BF_PLATFORM_MACOS
|
|
|
|
#define BF_PLATFORM_NAME "BF_PLATFORM_MACOS"
|
2019-08-23 11:56:54 -07:00
|
|
|
|
2019-10-14 14:08:29 -07:00
|
|
|
#define BF_IMPORT extern "C"
|
|
|
|
|
2019-08-23 11:56:54 -07:00
|
|
|
#ifdef BFSYSLIB_DYNAMIC
|
2019-10-14 14:08:29 -07:00
|
|
|
#define BF_EXPORT extern "C"
|
2019-08-23 11:56:54 -07:00
|
|
|
#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
|
|
|
|
|
2019-10-14 14:08:29 -07:00
|
|
|
#define BF_DEBUG_BREAK()
|
|
|
|
|
|
|
|
#include "../PlatformInterface.h"
|