Commit 9603fba8 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

include: Define _WINSOCKAPI_ in winsock2.h.

parent 904c05d3
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <stdio.h> #include <stdio.h>
#define COBJMACROS #define COBJMACROS
#define WINE_NOWINSOCK
#include <windows.h> #include <windows.h>
#include "shellapi.h" #include "shellapi.h"
#include "shlobj.h" #include "shlobj.h"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#define WINE_NOWINSOCK
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wtypes.h" #include "wtypes.h"
......
...@@ -59,10 +59,7 @@ ...@@ -59,10 +59,7 @@
#include <rpc.h> #include <rpc.h>
#include <shellapi.h> #include <shellapi.h>
#include <winperf.h> #include <winperf.h>
#ifndef WINE_NOWINSOCK
#include <winsock.h> #include <winsock.h>
#endif /* WINE_NOWINSOCK */
#ifndef NOCRYPT #ifndef NOCRYPT
#include <wincrypt.h> #include <wincrypt.h>
......
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
#ifndef _WINSOCK2API_ #ifndef _WINSOCK2API_
#define _WINSOCK2API_ #define _WINSOCK2API_
#define _WINSOCKAPI_
#include <windows.h> #include <windows.h>
......
...@@ -517,8 +517,6 @@ sub output_header($$$) { ...@@ -517,8 +517,6 @@ sub output_header($$$) {
print OUT " */\n"; print OUT " */\n";
print OUT "\n"; print OUT "\n";
print OUT "#define WINE_NOWINSOCK\n";
print OUT "\n";
foreach my $test (@tests) { foreach my $test (@tests) {
my @includes = $tests->get_section($test_dir, $test, "include"); my @includes = $tests->get_section($test_dir, $test, "include");
foreach my $include (@includes) { foreach my $include (@includes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment