| 6 | #include <stdint.h> |
| 7 | #include <fcntl.h> |
| 8 |
| 9 | #ifdef __cplusplus |
| 10 | extern "C" { |
| 11 | #endif |
| 12 | #ifdef __ANDROID__ |
| 13 | intptr_t openAt(intptr_t fd, const char *path, intptr_t flag); |
| 14 | #else |
| 15 | #define openAt openat |
| 16 | #endif |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | #endif //BREVENT_OPENAT_H |
| 21 |