* 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:
Danny Smith
2004-09-30 09:08:17 +00:00
parent 747d02f791
commit f49a3937c8
3 changed files with 11 additions and 6 deletions

View File

@ -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