diff options
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r-- | crawl-ref/source/files.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h index c2563cd479..ff0af7c108 100644 --- a/crawl-ref/source/files.h +++ b/crawl-ref/source/files.h @@ -94,4 +94,10 @@ long readLong(FILE *file); FILE *lk_open(const char *mode, const std::string &file); void lk_close(FILE *handle, const char *mode, const std::string &file); +// file locking stuff +#ifdef USE_FILE_LOCKING +bool lock_file_handle( FILE *handle, int type ); +bool unlock_file_handle( FILE *handle ); +#endif // USE_FILE_LOCKING + #endif |