* 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>
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,

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

View file

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