mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Added Android support, and generalized target triple support
Added PICLevel, RelocKind DarwinCommon/LinuxCommon/AndroidCommon merged into PosixCommon Mangling changed to avoid '@'
This commit is contained in:
parent
7a27ab75bf
commit
3883a3674d
39 changed files with 3457 additions and 5636 deletions
24
BeefySysLib/platform/android/BFPlatform.h
Normal file
24
BeefySysLib/platform/android/BFPlatform.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#define BFSTDCALL
|
||||
|
||||
#include "AndroidCommon.h"
|
||||
|
||||
#define BF_PLATFORM_ANDROID
|
||||
#define BF_PLATFORM_POSIX
|
||||
#define BF_PLATFORM_NAME "BF_PLATFORM_ANDROID"
|
||||
|
||||
#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
|
||||
|
||||
#define BF_DEBUG_BREAK()
|
||||
|
||||
#include "../PlatformInterface.h"
|
Loading…
Add table
Add a link
Reference in a new issue