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