pal_darwin.h 639 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include "il2cpp-config.h"
  3. #if IL2CPP_TARGET_DARWIN
  4. #define IL2CPP_USES_POSIX_CLASS_LIBRARY_PAL 1
  5. #define IL2CPP_HAVE_STAT_FLAGS 1
  6. #define IL2CPP_HAVE_STAT_FLAGS 1
  7. #define IL2CPP_HAVE_LCHFLAGS 1
  8. #define IL2CPP_HAVE_FUTIMENS 1
  9. #define IL2CPP_HAVE_FIXED_SIZE_DIRENT 1
  10. #define IL2CPP_HAVE_REWINDDIR 1
  11. #define IL2CPP_HAVE_FCOPYFILE 1
  12. #define IL2CPP_HAVE_STAT_BIRTHTIME 1
  13. #define IL2CPP_HAVE_STAT_TIMESPEC 1
  14. #define IL2CPP_HAVE_DIRENT_NAME_LEN 1
  15. #define IL2CPP_HAVE_ARC4RANDOM_BUF 1
  16. #define IL2CPP_HAVE_SYS_UN 1
  17. #define stat_ stat
  18. #define fstat_ fstat
  19. #define lstat_ lstat
  20. #include <dirent.h>
  21. #endif // IL2CPP_TARGET_DARWIN