From 95c728551d5ee9b71d2a6328d0220a8b678c5225 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 7 Nov 2007 12:31:16 +0100 Subject: [PATCH] include: Mark imported functions with hidden visibility. --- include/winnt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/winnt.h b/include/winnt.h index f068b53693c..78fa1f777e1 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -43,13 +43,13 @@ extern "C" { #define NTAPI __stdcall -#if (defined(_M_IX86) || defined(_M_IA64) || defined(_M_AMD64) || defined(__MINGW32__)) && !defined(MIDL_PASS) +#ifndef MIDL_PASS # if defined(_MSC_VER) # define DECLSPEC_IMPORT __declspec(dllimport) # elif defined(__MINGW32__) # define DECLSPEC_IMPORT __attribute__((dllimport)) # else -# define DECLSPEC_IMPORT +# define DECLSPEC_IMPORT DECLSPEC_HIDDEN # endif #else # define DECLSPEC_IMPORT