mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-21 02:11:16 +00:00
Update ioapi.c
This commit is contained in:
parent
3e90fa4cb8
commit
04aefcb1ec
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) || defined(IOAPI_NO_64)
|
||||
#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__OpenBSD__)
|
||||
// In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions
|
||||
#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
|
||||
#define FTELLO_FUNC(stream) ftello(stream)
|
||||
|
|
Loading…
Reference in a new issue