include: Remove DECLSPEC_HIDDEN definition.
This commit is contained in:
parent
bfeba8d2d1
commit
c14de4c85e
3 changed files with 6 additions and 16 deletions
|
@ -97,7 +97,7 @@ static inline char *strdup_ua( const char *src )
|
|||
return dst;
|
||||
}
|
||||
|
||||
extern const char *debugstr_type( unsigned short ) DECLSPEC_HIDDEN;
|
||||
extern const char *debugstr_type( unsigned short );
|
||||
|
||||
struct get_searchlist_params
|
||||
{
|
||||
|
|
|
@ -247,7 +247,7 @@ extern void free_dce( struct dce *dce, HWND hwnd );
|
|||
extern void invalidate_dce( WND *win, const RECT *extra_rect );
|
||||
|
||||
/* message.c */
|
||||
extern BOOL set_keyboard_auto_repeat( BOOL enable ) DECLSPEC_HIDDEN;
|
||||
extern BOOL set_keyboard_auto_repeat( BOOL enable );
|
||||
|
||||
/* window.c */
|
||||
HANDLE alloc_user_handle( struct user_object *ptr, unsigned int type );
|
||||
|
|
|
@ -51,16 +51,16 @@ extern "C" {
|
|||
#define NTAPI __stdcall
|
||||
#define FASTCALL __fastcall
|
||||
|
||||
#ifndef MIDL_PASS
|
||||
#ifndef DECLSPEC_IMPORT
|
||||
# if defined(_MSC_VER)
|
||||
# define DECLSPEC_IMPORT __declspec(dllimport)
|
||||
# elif defined(__MINGW32__) || defined(__CYGWIN__)
|
||||
# define DECLSPEC_IMPORT __attribute__((dllimport))
|
||||
# elif defined(__GNUC__)
|
||||
# define DECLSPEC_IMPORT __attribute__((visibility ("hidden")))
|
||||
# else
|
||||
# define DECLSPEC_IMPORT DECLSPEC_HIDDEN
|
||||
# define DECLSPEC_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define DECLSPEC_IMPORT
|
||||
#endif
|
||||
|
||||
#ifndef DECLSPEC_NORETURN
|
||||
|
@ -193,16 +193,6 @@ extern "C" {
|
|||
# define DECLSPEC_EXPORT
|
||||
#endif
|
||||
|
||||
#ifndef DECLSPEC_HIDDEN
|
||||
# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__) || defined(__sun)
|
||||
# define DECLSPEC_HIDDEN
|
||||
# elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
|
||||
# define DECLSPEC_HIDDEN __attribute__((visibility ("hidden")))
|
||||
# else
|
||||
# define DECLSPEC_HIDDEN
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef __has_attribute
|
||||
# define __has_attribute(x) 0
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue