BFPlatform.h 465 B

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