Fix for FreeBSD and a typo
Fix provided by Ganael LAPLANCHE, thanks!
This commit is contained in:
parent
a1e81a2fdc
commit
1bf5fe1c27
3 changed files with 2 additions and 2 deletions
2
3rdparty/hts_engine_API/lib/HTS_misc.c
vendored
2
3rdparty/hts_engine_API/lib/HTS_misc.c
vendored
|
@ -245,7 +245,7 @@ size_t HTS_ftell(HTS_File * fp)
|
||||||
} else if (fp->type == HTS_FILE) {
|
} else if (fp->type == HTS_FILE) {
|
||||||
fpos_t pos;
|
fpos_t pos;
|
||||||
fgetpos((FILE *) fp->pointer, &pos);
|
fgetpos((FILE *) fp->pointer, &pos);
|
||||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__)
|
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__)
|
||||||
return (size_t) pos;
|
return (size_t) pos;
|
||||||
#else
|
#else
|
||||||
return (size_t) pos.__pos;
|
return (size_t) pos.__pos;
|
||||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in a new issue