mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Fix compiling opus using mingw
This commit is contained in:
parent
2a31f33fc6
commit
5c3d76665f
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ static int op_fread(void *_stream,unsigned char *_ptr,int _buf_size){
|
|||
}
|
||||
|
||||
static int op_fseek(void *_stream,opus_int64 _offset,int _whence){
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(_WIN32)
|
||||
return _fseeki64((FILE *)_stream,_offset,_whence);
|
||||
#else
|
||||
return fseeko((FILE *)_stream,(off_t)_offset,_whence);
|
||||
|
@ -62,7 +62,7 @@ static int op_fseek(void *_stream,opus_int64 _offset,int _whence){
|
|||
}
|
||||
|
||||
static opus_int64 op_ftell(void *_stream){
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(_WIN32)
|
||||
return _ftelli64((FILE *)_stream);
|
||||
#else
|
||||
return ftello((FILE *)_stream);
|
||||
|
|
Loading…
Reference in a new issue