Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
60ac1cec
Commit
60ac1cec
authored
May 02, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use DECLSPEC_HIDDEN instead of DECLSPEC_IMPORT for dll exports.
DECLSPEC_IMPORT interferes with delay imports on MinGW. Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9c6f2e2d
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
13 additions
and
13 deletions
+13
-13
dde.h
include/dde.h
+1
-1
ddeml.h
include/ddeml.h
+1
-1
slpublic.h
include/slpublic.h
+1
-1
winbase.h
include/winbase.h
+2
-2
wincred.h
include/wincred.h
+1
-1
wincrypt.h
include/wincrypt.h
+1
-1
wingdi.h
include/wingdi.h
+2
-2
winnls.h
include/winnls.h
+1
-1
winsvc.h
include/winsvc.h
+1
-1
winuser.h
include/winuser.h
+1
-1
wmium.h
include/wmium.h
+1
-1
No files found.
include/dde.h
View file @
60ac1cec
...
@@ -31,7 +31,7 @@ extern "C" {
...
@@ -31,7 +31,7 @@ extern "C" {
#ifdef _USER32_
#ifdef _USER32_
#define WINUSERAPI
#define WINUSERAPI
#else
#else
#define WINUSERAPI DECLSPEC_
IMPORT
#define WINUSERAPI DECLSPEC_
HIDDEN
#endif
#endif
#include <dde.rh>
#include <dde.rh>
...
...
include/ddeml.h
View file @
60ac1cec
...
@@ -29,7 +29,7 @@ extern "C" {
...
@@ -29,7 +29,7 @@ extern "C" {
#ifdef _USER32_
#ifdef _USER32_
#define WINUSERAPI
#define WINUSERAPI
#else
#else
#define WINUSERAPI DECLSPEC_
IMPORT
#define WINUSERAPI DECLSPEC_
HIDDEN
#endif
#endif
/* Codepage Constants
/* Codepage Constants
...
...
include/slpublic.h
View file @
60ac1cec
...
@@ -26,7 +26,7 @@ extern "C" {
...
@@ -26,7 +26,7 @@ extern "C" {
#ifdef _SLC_
#ifdef _SLC_
#define SLCAPI
#define SLCAPI
#else
#else
#define SLCAPI DECLSPEC_
IMPORT
#define SLCAPI DECLSPEC_
HIDDEN
#endif
#endif
typedef
GUID
SLID
;
typedef
GUID
SLID
;
...
...
include/winbase.h
View file @
60ac1cec
...
@@ -28,13 +28,13 @@ extern "C" {
...
@@ -28,13 +28,13 @@ extern "C" {
#ifdef _KERNEL32_
#ifdef _KERNEL32_
#define WINBASEAPI
#define WINBASEAPI
#else
#else
#define WINBASEAPI DECLSPEC_
IMPORT
#define WINBASEAPI DECLSPEC_
HIDDEN
#endif
#endif
#ifdef _ADVAPI32_
#ifdef _ADVAPI32_
#define WINADVAPI
#define WINADVAPI
#else
#else
#define WINADVAPI DECLSPEC_
IMPORT
#define WINADVAPI DECLSPEC_
HIDDEN
#endif
#endif
#include <libloaderapi.h>
#include <libloaderapi.h>
...
...
include/wincred.h
View file @
60ac1cec
...
@@ -26,7 +26,7 @@ extern "C" {
...
@@ -26,7 +26,7 @@ extern "C" {
#ifdef _ADVAPI32_
#ifdef _ADVAPI32_
#define WINADVAPI
#define WINADVAPI
#else
#else
#define WINADVAPI DECLSPEC_
IMPORT
#define WINADVAPI DECLSPEC_
HIDDEN
#endif
#endif
#ifndef __SECHANDLE_DEFINED__
#ifndef __SECHANDLE_DEFINED__
...
...
include/wincrypt.h
View file @
60ac1cec
...
@@ -31,7 +31,7 @@ extern "C" {
...
@@ -31,7 +31,7 @@ extern "C" {
#ifdef _ADVAPI32_
#ifdef _ADVAPI32_
# define WINADVAPI
# define WINADVAPI
#else
#else
# define WINADVAPI DECLSPEC_
IMPORT
# define WINADVAPI DECLSPEC_
HIDDEN
#endif
#endif
/* some typedefs for function parameters */
/* some typedefs for function parameters */
...
...
include/wingdi.h
View file @
60ac1cec
...
@@ -27,13 +27,13 @@ extern "C" {
...
@@ -27,13 +27,13 @@ extern "C" {
#ifdef _GDI32_
#ifdef _GDI32_
#define WINGDIAPI
#define WINGDIAPI
#else
#else
#define WINGDIAPI DECLSPEC_
IMPORT
#define WINGDIAPI DECLSPEC_
HIDDEN
#endif
#endif
#ifdef _OPENGL32_
#ifdef _OPENGL32_
#define WGLAPI
#define WGLAPI
#else
#else
#define WGLAPI DECLSPEC_
IMPORT
#define WGLAPI DECLSPEC_
HIDDEN
#endif
#endif
typedef
struct
_ABCFLOAT
{
typedef
struct
_ABCFLOAT
{
...
...
include/winnls.h
View file @
60ac1cec
...
@@ -25,7 +25,7 @@ extern "C" {
...
@@ -25,7 +25,7 @@ extern "C" {
#endif
#endif
#ifndef _NORMALIZE_
#ifndef _NORMALIZE_
# define WINNORMALIZEAPI DECLSPEC_
IMPORT
# define WINNORMALIZEAPI DECLSPEC_
HIDDEN
#else
#else
# define WINNORMALIZEAPI
# define WINNORMALIZEAPI
#endif
#endif
...
...
include/winsvc.h
View file @
60ac1cec
...
@@ -26,7 +26,7 @@ extern "C" {
...
@@ -26,7 +26,7 @@ extern "C" {
#ifdef _ADVAPI32_
#ifdef _ADVAPI32_
#define WINADVAPI
#define WINADVAPI
#else
#else
#define WINADVAPI DECLSPEC_
IMPORT
#define WINADVAPI DECLSPEC_
HIDDEN
#endif
#endif
/* Service database names */
/* Service database names */
...
...
include/winuser.h
View file @
60ac1cec
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#define _WINUSER_
#define _WINUSER_
#if !defined(_USER32_)
#if !defined(_USER32_)
#define WINUSERAPI DECLSPEC_
IMPORT
#define WINUSERAPI DECLSPEC_
HIDDEN
#else
#else
#define WINUSERAPI
#define WINUSERAPI
#endif
#endif
...
...
include/wmium.h
View file @
60ac1cec
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#ifdef _WMI_SOURCE_
#ifdef _WMI_SOURCE_
#define WMIAPI __stdcall
#define WMIAPI __stdcall
#else
#else
#define WMIAPI DECLSPEC_
IMPORT
__stdcall
#define WMIAPI DECLSPEC_
HIDDEN
__stdcall
#endif
#endif
#include <guiddef.h>
#include <guiddef.h>
...
...
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