1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00
Beef/BeefySysLib/platform/osx/BFPlatform.h

32 lines
565 B
C
Raw Permalink Normal View History

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