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;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern const char *debugstr_type( unsigned short ) DECLSPEC_HIDDEN;
|
extern const char *debugstr_type( unsigned short );
|
||||||
|
|
||||||
struct get_searchlist_params
|
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 );
|
extern void invalidate_dce( WND *win, const RECT *extra_rect );
|
||||||
|
|
||||||
/* message.c */
|
/* message.c */
|
||||||
extern BOOL set_keyboard_auto_repeat( BOOL enable ) DECLSPEC_HIDDEN;
|
extern BOOL set_keyboard_auto_repeat( BOOL enable );
|
||||||
|
|
||||||
/* window.c */
|
/* window.c */
|
||||||
HANDLE alloc_user_handle( struct user_object *ptr, unsigned int type );
|
HANDLE alloc_user_handle( struct user_object *ptr, unsigned int type );
|
||||||
|
|
|
@ -51,16 +51,16 @@ extern "C" {
|
||||||
#define NTAPI __stdcall
|
#define NTAPI __stdcall
|
||||||
#define FASTCALL __fastcall
|
#define FASTCALL __fastcall
|
||||||
|
|
||||||
#ifndef MIDL_PASS
|
#ifndef DECLSPEC_IMPORT
|
||||||
# if defined(_MSC_VER)
|
# if defined(_MSC_VER)
|
||||||
# define DECLSPEC_IMPORT __declspec(dllimport)
|
# define DECLSPEC_IMPORT __declspec(dllimport)
|
||||||
# elif defined(__MINGW32__) || defined(__CYGWIN__)
|
# elif defined(__MINGW32__) || defined(__CYGWIN__)
|
||||||
# define DECLSPEC_IMPORT __attribute__((dllimport))
|
# define DECLSPEC_IMPORT __attribute__((dllimport))
|
||||||
|
# elif defined(__GNUC__)
|
||||||
|
# define DECLSPEC_IMPORT __attribute__((visibility ("hidden")))
|
||||||
# else
|
# else
|
||||||
# define DECLSPEC_IMPORT DECLSPEC_HIDDEN
|
# define DECLSPEC_IMPORT
|
||||||
# endif
|
# endif
|
||||||
#else
|
|
||||||
# define DECLSPEC_IMPORT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DECLSPEC_NORETURN
|
#ifndef DECLSPEC_NORETURN
|
||||||
|
@ -193,16 +193,6 @@ extern "C" {
|
||||||
# define DECLSPEC_EXPORT
|
# define DECLSPEC_EXPORT
|
||||||
#endif
|
#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
|
#ifndef __has_attribute
|
||||||
# define __has_attribute(x) 0
|
# define __has_attribute(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue