| 1123 | } |
| 1124 | |
| 1125 | static bool activation_native_close(activation_native_file_t file) { |
| 1126 | #ifdef _WIN32 |
| 1127 | return file != INVALID_HANDLE_VALUE && CloseHandle(file) != 0; |
| 1128 | #else |
| 1129 | return file >= 0 && close(file) == 0; |
| 1130 | #endif |
| 1131 | } |
| 1132 | |
| 1133 | static bool activation_native_sync(activation_native_file_t file) { |
| 1134 | #ifdef _WIN32 |
no test coverage detected