projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9175a90
)
udp: Fix compiler warning on mingw-w64
author
Raimo Järvi
<raimo.jarvi@gmail.com>
Wed, 8 Jun 2011 15:33:10 +0000
(18:33 +0300)
committer
David Schleef
<ds@schleef.org>
Sun, 12 Jun 2011 01:02:17 +0000
(18:02 -0700)
Fixes: #652144.
gstudpnetutils.h:32:0: error: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the
location of the previous definition
gst/udp/gstudpnetutils.h
patch
|
blob
|
history
diff --git
a/gst/udp/gstudpnetutils.h
b/gst/udp/gstudpnetutils.h
index
ec863bd
..
9b52ed9
100644
(file)
--- a/
gst/udp/gstudpnetutils.h
+++ b/
gst/udp/gstudpnetutils.h
@@
-29,7
+29,9
@@
#ifdef G_OS_WIN32
/* ws2_32.dll has getaddrinfo and freeaddrinfo on Windows XP and later.
* minwg32 headers check WINVER before allowing the use of these */
+#ifndef WINVER
#define WINVER 0x0501
+#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#ifndef socklen_t