Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5e1759b9
Commit
5e1759b9
authored
Aug 15, 2013
by
Rafaël Carré
Committed by
Jean-Baptiste Kempf
Aug 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: iconv: fix for windows store
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b128c6af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
contrib/src/iconv/rules.mak
contrib/src/iconv/rules.mak
+1
-0
contrib/src/iconv/win32.patch
contrib/src/iconv/win32.patch
+17
-0
No files found.
contrib/src/iconv/rules.mak
View file @
5e1759b9
...
...
@@ -16,6 +16,7 @@ $(TARBALLS)/libiconv-$(LIBICONV_VERSION).tar.gz:
iconv
:
libiconv-$(LIBICONV_VERSION).tar.gz .sum-iconv
$(UNPACK)
$(APPLY)
$(SRC)
/iconv/win32.patch
ifdef
HAVE_WIN64
$(APPLY)
$(SRC)
/iconv/libiconv-win64.patch
endif
...
...
contrib/src/iconv/win32.patch
0 → 100644
View file @
5e1759b9
--- iconv/srclib/stdio-write.c.orig 2013-08-15 11:50:20.508093720 +0200
+++ iconv/srclib/stdio-write.c 2013-08-15 11:51:36.344096864 +0200
@@ -20,6 +20,14 @@
/* Specification. */
#include <stdio.h>
+#ifdef _WIN32
+#include <winapifamily.h>
+
+#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
+#define GetFileType(h) FILE_TYPE_UNKNOWN
+#endif
+#endif
+
/* Replace these functions only if module 'nonblocking' or module 'sigpipe' is
requested. */
#if GNULIB_NONBLOCKING || GNULIB_SIGPIPE
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