pal_linux.h 605 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include "il2cpp-config.h"
  3. #if IL2CPP_TARGET_LINUX
  4. #define IL2CPP_USES_POSIX_CLASS_LIBRARY_PAL 1
  5. #define IL2CPP_HAVE_GNU_STRERROR_R 1
  6. #define IL2CPP_HAVE_STAT_FLAGS 1
  7. #define IL2CPP_HAVE_STAT_FLAGS 1
  8. #define IL2CPP_HAVE_LCHFLAGS 1
  9. #define IL2CPP_HAVE_FUTIMENS 1
  10. #define IL2CPP_HAVE_FIXED_SIZE_DIRENT 1
  11. #define IL2CPP_HAVE_REWINDDIR 1
  12. #define IL2CPP_HAVE_STAT_TIM 1
  13. #include <sys/sendfile.h>
  14. #include <limits.h>
  15. #define IL2CPP_HAVE_SENDFILE_4 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_LINUX