* 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

@ -1,3 +1,9 @@
2004-09-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT only
if __W32API_USE_DLLIMPORT__ is defined.
* include/winuser.h (WINUSERAPI): Likewise.
2004-09-29 Filip Navara <xnavara@volny.cz> 2004-09-29 Filip Navara <xnavara@volny.cz>
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h, * include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,

View File

@ -5,13 +5,13 @@
#endif #endif
#ifndef WINBASEAPI #ifndef WINBASEAPI
#ifdef __INSIDE_CYGWIN__ #ifdef __W32API_USE_DLLIMPORT__
#define WINBASEAPI
#else
#define WINBASEAPI DECLSPEC_IMPORT #define WINBASEAPI DECLSPEC_IMPORT
#else
#define WINBASEAPI
#endif
#endif #endif
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@ -9,14 +9,13 @@ extern "C" {
#endif #endif
#ifndef WINUSERAPI #ifndef WINUSERAPI
#ifndef __INSIDE_CYGWIN__ #ifdef __W32API_USE_DLLIMPORT__
#define WINUSERAPI DECLSPEC_IMPORT #define WINUSERAPI DECLSPEC_IMPORT
#else #else
#define WINUSERAPI #define WINUSERAPI
#endif #endif
#endif #endif
#define WC_DIALOG MAKEINTATOM(0x8002) #define WC_DIALOG MAKEINTATOM(0x8002)
#define FALT 16 #define FALT 16
#define FCONTROL 8 #define FCONTROL 8