2019-08-23 11:56:54 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define BFSTDCALL
|
|
|
|
|
|
|
|
#include "LinuxCommon.h"
|
|
|
|
|
|
|
|
#define BF_PLATFORM_LINUX
|
2019-11-07 06:54:54 -08:00
|
|
|
#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"
|