Commit fc8360d0 authored by David Reid's avatar David Reid

Fix an error with -std=c89.

parent e45882d2
...@@ -41954,6 +41954,10 @@ static ma_result ma_default_vfs_tell__stdio(ma_vfs* pVFS, ma_vfs_file file, ma_i ...@@ -41954,6 +41954,10 @@ static ma_result ma_default_vfs_tell__stdio(ma_vfs* pVFS, ma_vfs_file file, ma_i
return MA_SUCCESS; return MA_SUCCESS;
} }
#if !((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 1) || defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE))
int fileno(FILE *stream);
#endif
static ma_result ma_default_vfs_info__stdio(ma_vfs* pVFS, ma_vfs_file file, ma_file_info* pInfo) static ma_result ma_default_vfs_info__stdio(ma_vfs* pVFS, ma_vfs_file file, ma_file_info* pInfo)
{ {
int fd; int fd;
...@@ -61760,6 +61764,7 @@ v0.10.9 - TBD ...@@ -61760,6 +61764,7 @@ v0.10.9 - TBD
- Changes to the internal atomics library. This has been replaced with c89atomic.h which is embedded within this file. - Changes to the internal atomics library. This has been replaced with c89atomic.h which is embedded within this file.
- Fix a bug when a decoding backend reports configurations outside the limits of miniaudio's decoder abstraction. - Fix a bug when a decoding backend reports configurations outside the limits of miniaudio's decoder abstraction.
- Fix the UWP build. - Fix the UWP build.
- Fix the -std=c89 build on GCC.
v0.10.8 - 2020-06-22 v0.10.8 - 2020-06-22
- Remove dependency on ma_context from mutexes. - Remove dependency on ma_context from mutexes.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment