Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9652efd1
Commit
9652efd1
authored
Oct 09, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't define WINVER in *.c files
In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
parent
f3ea8343
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
0 additions
and
13 deletions
+0
-13
main_win32.c
src/main_win32.c
+0
-1
ntp_server.c
src/ntp_server.c
+0
-1
resolver.c
src/resolver.c
+0
-1
rtsp_client.c
src/rtsp_client.c
+0
-1
rtsp_client.h
src/rtsp_client.h
+0
-1
server_socket.c
src/server_socket.c
+0
-1
socket_util.c
src/socket_util.c
+0
-1
tcp_connect.c
src/tcp_connect.c
+0
-1
tcp_socket.c
src/tcp_socket.c
+0
-1
udp_server.c
src/udp_server.c
+0
-1
run_ntp_server.c
test/run_ntp_server.c
+0
-1
run_resolver.c
test/run_resolver.c
+0
-1
run_tcp_connect.c
test/run_tcp_connect.c
+0
-1
No files found.
src/main_win32.c
View file @
9652efd1
...
...
@@ -27,7 +27,6 @@
#include <glib.h>
#define WINVER 0x0501
#include <windows.h>
static
int
service_argc
;
...
...
src/ntp_server.c
View file @
9652efd1
...
...
@@ -29,7 +29,6 @@
#include <sys/time.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
src/resolver.c
View file @
9652efd1
...
...
@@ -25,7 +25,6 @@
#include <sys/socket.h>
#include <netdb.h>
#else
/* G_OS_WIN32 */
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#endif
/* G_OS_WIN32 */
...
...
src/rtsp_client.c
View file @
9652efd1
...
...
@@ -36,7 +36,6 @@
#include <sys/time.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
src/rtsp_client.h
View file @
9652efd1
...
...
@@ -28,7 +28,6 @@
#include <glib.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
src/server_socket.c
View file @
9652efd1
...
...
@@ -40,7 +40,6 @@
#include <assert.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
src/socket_util.c
View file @
9652efd1
...
...
@@ -27,7 +27,6 @@
#ifndef G_OS_WIN32
#include <sys/socket.h>
#else
/* G_OS_WIN32 */
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#endif
/* G_OS_WIN32 */
...
...
src/tcp_connect.c
View file @
9652efd1
...
...
@@ -28,7 +28,6 @@
#include <errno.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
src/tcp_socket.c
View file @
9652efd1
...
...
@@ -26,7 +26,6 @@
#include <string.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
src/udp_server.c
View file @
9652efd1
...
...
@@ -28,7 +28,6 @@
#include <errno.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
test/run_ntp_server.c
View file @
9652efd1
...
...
@@ -30,7 +30,6 @@
#include <unistd.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
test/run_resolver.c
View file @
9652efd1
...
...
@@ -21,7 +21,6 @@
#include "resolver.h"
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
test/run_tcp_connect.c
View file @
9652efd1
...
...
@@ -27,7 +27,6 @@
#include <stdlib.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
...
...
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