begin.h 783 B

123456789101112131415161718192021
  1. /******************************************************************************/
  2. #ifdef _WIN32 // WINDOWS
  3. #define LOCK_WRITE WindowsLOCK_WRITE
  4. #elif defined __APPLE__ // APPLE
  5. #define Ptr ApplePtr
  6. #define Point ApplePoint
  7. #define Cell AppleCell
  8. #define Rect AppleRect
  9. #define Button AppleButton
  10. #define Cursor AppleCursor
  11. #define FileInfo AppleFileInfo
  12. #define TextStyle AppleTextStyle
  13. #elif (defined __linux__ && !defined ANDROID) || defined EMSCRIPTEN // LINUX or WEB
  14. #define Time LinuxTime
  15. #define Font LinuxFont
  16. #define Region LinuxRegion
  17. #define Window XWindow
  18. #define Cursor XCursor
  19. #elif defined ANDROID // ANDROID
  20. #endif
  21. /******************************************************************************/