BFPlatform.h 537 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #define BFSTDCALL
  3. #include "LinuxCommon.h"
  4. #define BF_PLATFORM_LINUX
  5. #define BF_PLATFORM_POSIX
  6. #define BF_PLATFORM_NAME "BF_PLATFORM_LINUX"
  7. #define BF_IMPORT extern "C"
  8. #if (defined(__arm__) || defined(__aarch64__))
  9. #define BF_PLATFORM_OPENGL_ES2
  10. #define BF_PLATFORM_ARM
  11. #endif
  12. #ifdef BFSYSLIB_DYNAMIC
  13. #define BF_EXPORT extern "C"
  14. #define BF_CALLTYPE
  15. #else
  16. #define BF_EXPORT extern "C"
  17. #define BF_CALLTYPE
  18. #define BF_RESOURCES_REL_DIR "../Resources"
  19. #endif
  20. #define BF_DEBUG_BREAK()
  21. #include "../PlatformInterface.h"