Alexandre Julliard : include: Mark imported functions with hidden visibility.
Alexandre Julliard
julliard at winehq.org
Wed Nov 7 06:45:59 CST 2007
Module: wine
Branch: master
Commit: 95c728551d5ee9b71d2a6328d0220a8b678c5225
URL: http://source.winehq.org/git/wine.git/?a=commit;h=95c728551d5ee9b71d2a6328d0220a8b678c5225
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Nov 7 12:31:16 2007 +0100
include: Mark imported functions with hidden visibility.
---
include/winnt.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/winnt.h b/include/winnt.h
index f068b53..78fa1f7 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
More information about the wine-cvs
mailing list