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
fcafb389
Commit
fcafb389
authored
Apr 30, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: upnp: Work around missing WIN32 macro
When building in non-gnu -std, WIN32 doesn't get defined.
parent
628764e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
contrib/src/upnp/missing_win32.patch
contrib/src/upnp/missing_win32.patch
+13
-0
contrib/src/upnp/rules.mak
contrib/src/upnp/rules.mak
+1
-0
No files found.
contrib/src/upnp/missing_win32.patch
0 → 100644
View file @
fcafb389
--- upnp_clean/upnp/inc/upnp.h 2015-04-30 14:37:26.962425889 +0200
+++ upnp/upnp/inc/upnp.h 2015-04-30 14:41:48.099528162 +0200
@@ -41,6 +41,10 @@
* \file
*/
+#ifdef _WIN32
+# define WIN32
+#endif
+
#include "ixml.h"
#include "upnpconfig.h"
#include "UpnpGlobal.h"
contrib/src/upnp/rules.mak
View file @
fcafb389
...
@@ -25,6 +25,7 @@ ifdef HAVE_WIN32
...
@@ -25,6 +25,7 @@ ifdef HAVE_WIN32
endif
endif
$(APPLY)
$(SRC)
/upnp/libupnp-ipv6.patch
$(APPLY)
$(SRC)
/upnp/libupnp-ipv6.patch
$(APPLY)
$(SRC)
/upnp/miniserver.patch
$(APPLY)
$(SRC)
/upnp/miniserver.patch
$(APPLY)
$(SRC)
/upnp/missing_win32.patch
$(UPDATE_AUTOCONFIG)
&&
cd
$(UNPACK_DIR)
&&
mv
config.guess config.sub build-aux/
$(UPDATE_AUTOCONFIG)
&&
cd
$(UNPACK_DIR)
&&
mv
config.guess config.sub build-aux/
$(MOVE)
$(MOVE)
...
...
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