if __W32API_USE_DLLIMPORT__ is defined.
* include/winuser.h (WINUSERAPI): Likewise.
+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,
#endif
#ifndef WINBASEAPI
-#ifdef __INSIDE_CYGWIN__
-#define WINBASEAPI
-#else
+#ifdef __W32API_USE_DLLIMPORT__
#define WINBASEAPI DECLSPEC_IMPORT
+#else
+#define WINBASEAPI
#endif
-
#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#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