OSDN Git Service

* include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT only
authordannysmith <dannysmith>
Thu, 30 Sep 2004 09:08:15 +0000 (09:08 +0000)
committerdannysmith <dannysmith>
Thu, 30 Sep 2004 09:08:15 +0000 (09:08 +0000)
 if __W32API_USE_DLLIMPORT__ is defined.
* include/winuser.h (WINUSERAPI): Likewise.

winsup/w32api/ChangeLog
winsup/w32api/include/winbase.h
winsup/w32api/include/winuser.h

index dccf7e4..0789e02 100644 (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,
index c362d7b..ad82353 100644 (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
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index a5aaf68..c256f3f 100644 (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