1
0
Fork 0

Fix for FreeBSD and a typo

Fix provided by Ganael LAPLANCHE, thanks!
This commit is contained in:
Torsten Dreyer 2016-03-12 20:55:46 +01:00
parent a1e81a2fdc
commit 1bf5fe1c27
3 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -15,7 +15,7 @@
<file alias="airport-tower-icon">airport-tower-icon.png</file> <file alias="airport-tower-icon">airport-tower-icon.png</file>
<file alias="vor-dme-icon">vor-dme-icon.png</file> <file alias="vor-dme-icon">vor-dme-icon.png</file>
<file alias="seaport-tower-icon">seaport-tower-icon.png</file> <file alias="seaport-tower-icon">seaport-tower-icon.png</file>
<file alias="ndb-small-icon">ndb-small-icon .png</file> <file alias="ndb-small-icon">ndb-small-icon.png</file>
<file alias="ndb-large-icon">ndb-large-icon.png</file> <file alias="ndb-large-icon">ndb-large-icon.png</file>
<file alias="airplane-icon">airplane-icon.png</file> <file alias="airplane-icon">airplane-icon.png</file>
<file alias="airport-closed-icon">airport-closed-icon.png</file> <file alias="airport-closed-icon">airport-closed-icon.png</file>