Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
wine
wine-cw
Commits
36d98a32
Commit
36d98a32
authored
Aug 09, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: #undef some macros to avoid a conflict between openssl/ssl.h and wincrypt.h.
parent
e1987a52
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
internet.c
dlls/wininet/internet.c
+1
-1
internet.h
dlls/wininet/internet.h
+4
-0
netconnection.c
dlls/wininet/netconnection.c
+1
-1
No files found.
dlls/wininet/internet.c
View file @
36d98a32
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
#include "winerror.h"
#include "winerror.h"
#define NO_SHLWAPI_STREAM
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "shlwapi.h"
#include "wincrypt.h"
#include "wine/exception.h"
#include "wine/exception.h"
...
@@ -65,7 +66,6 @@
...
@@ -65,7 +66,6 @@
#include "resource.h"
#include "resource.h"
#include "wine/unicode.h"
#include "wine/unicode.h"
#include "wincrypt.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wininet
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wininet
);
...
...
dlls/wininet/internet.h
View file @
36d98a32
...
@@ -40,6 +40,10 @@
...
@@ -40,6 +40,10 @@
#ifdef HAVE_OPENSSL_SSL_H
#ifdef HAVE_OPENSSL_SSL_H
#define DSA __ssl_DSA
/* avoid conflict with commctrl.h */
#define DSA __ssl_DSA
/* avoid conflict with commctrl.h */
#undef FAR
#undef FAR
/* avoid conflict with wincrypt.h */
#undef PKCS7_SIGNER_INFO
#undef X509_NAME
#undef X509_CERT_PAIR
# include <openssl/ssl.h>
# include <openssl/ssl.h>
#undef FAR
#undef FAR
#define FAR do_not_use_this_in_wine
#define FAR do_not_use_this_in_wine
...
...
dlls/wininet/netconnection.c
View file @
36d98a32
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
#include "winbase.h"
#include "winbase.h"
#include "wininet.h"
#include "wininet.h"
#include "winerror.h"
#include "winerror.h"
#include "wincrypt.h"
/* To avoid conflicts with the Unix socket headers. we only need it for
/* To avoid conflicts with the Unix socket headers. we only need it for
* the error codes anyway. */
* the error codes anyway. */
...
@@ -55,7 +56,6 @@
...
@@ -55,7 +56,6 @@
#include "wine/debug.h"
#include "wine/debug.h"
#include "internet.h"
#include "internet.h"
#include "wincrypt.h"
#define RESPONSE_TIMEOUT 30
/* FROM internet.c */
#define RESPONSE_TIMEOUT 30
/* FROM internet.c */
...
...
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