* include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT only
if __W32API_USE_DLLIMPORT__ is defined. * include/winuser.h (WINUSERAPI): Likewise.
This commit is contained in:
@ -5,13 +5,13 @@
|
||||
#endif
|
||||
|
||||
#ifndef WINBASEAPI
|
||||
#ifdef __INSIDE_CYGWIN__
|
||||
#define WINBASEAPI
|
||||
#else
|
||||
#ifdef __W32API_USE_DLLIMPORT__
|
||||
#define WINBASEAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define WINBASEAPI
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user