Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Beauzée-Luyssen
flac
Commits
45f7d41a
Commit
45f7d41a
authored
Feb 10, 2018
by
Erik de Castro Lopo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for missing WINAPI_FAMILY_PARTITION
This is macro identifier is not defined, define it to `0`.
parent
a0027fad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
include/share/compat.h
include/share/compat.h
+4
-0
src/libFLAC/windows_unicode_filenames.c
src/libFLAC/windows_unicode_filenames.c
+1
-0
No files found.
include/share/compat.h
View file @
45f7d41a
...
...
@@ -175,6 +175,10 @@
#define flac_fstat fstat
#endif
#ifndef WINAPI_FAMILY_PARTITION
#define WINAPI_FAMILY_PARTITION(x) 0
#endif
#ifdef ANDROID
#include <limits.h>
#endif
...
...
src/libFLAC/windows_unicode_filenames.c
View file @
45f7d41a
...
...
@@ -34,6 +34,7 @@
#endif
#include <io.h>
#include "share/compat.h"
#include "share/windows_unicode_filenames.h"
/* convert UTF-8 back to WCHAR. Caller is responsible for freeing memory */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment