BFPlatform.h 565 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #define BFSTDCALL
  3. #include "../darwin/DarwinCommon.h"
  4. #include <string>
  5. #define BF_PLATFORM_MACOS
  6. #define BF_PLATFORM_POSIX
  7. #define BF_PLATFORM_DARWIN
  8. #define BF_PLATFORM_NAME "BF_PLATFORM_MACOS"
  9. #define BF_IMPORT extern "C"
  10. #ifdef BFSYSLIB_DYNAMIC
  11. #define BF_EXPORT extern "C"
  12. #define BF_CALLTYPE
  13. #else
  14. #define BF_EXPORT extern "C"
  15. #define BF_CALLTYPE
  16. #define BF_RESOURCES_REL_DIR "../Resources"
  17. #endif
  18. #ifdef BF32
  19. #define BF_REGISTER_COUNT 7
  20. #else
  21. #define BF_REGISTER_COUNT 15
  22. #endif
  23. #define BF_DEBUG_BREAK()
  24. #include "../PlatformInterface.h"