| 1 | #ifndef REFTABLE_SYSTEM_H |
| 2 | #define REFTABLE_SYSTEM_H |
| 3 | |
| 4 | /* |
| 5 | * This header defines the platform-specific bits required to compile the |
| 6 | * reftable library. It should provide an environment that bridges over the |
| 7 | * gaps between POSIX and your system, as well as the zlib interfaces. This |
| 8 | * header is expected to be changed by the individual project. |
| 9 | */ |
| 10 | |
| 11 | #define MINGW_DONT_HANDLE_IN_USE_ERROR |
| 12 | #include "compat/posix.h" |
| 13 | #include "compat/zlib-compat.h" |
| 14 | |
| 15 | int reftable_fsync(int fd); |
| 16 | #define fsync(fd) reftable_fsync(fd) |
| 17 | |
| 18 | #endif |