1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00
Beef/BeefySysLib/platform/linux/BFPlatform.h

30 lines
537 B
C
Raw Normal View History

2019-08-23 11:56:54 -07:00
#pragma once
#define BFSTDCALL
#include "LinuxCommon.h"
#define BF_PLATFORM_LINUX
#define BF_PLATFORM_POSIX
2019-10-15 17:27:09 -07:00
#define BF_PLATFORM_NAME "BF_PLATFORM_LINUX"
2019-08-23 11:56:54 -07:00
#define BF_IMPORT extern "C"
2022-11-10 06:37:55 -08:00
#if (defined(__arm__) || defined(__aarch64__))
#define BF_PLATFORM_OPENGL_ES2
#define BF_PLATFORM_ARM
#endif
2019-08-23 11:56:54 -07:00
#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
#define BF_DEBUG_BREAK()
#include "../PlatformInterface.h"