OSDN Git Service

* include/winbase.h (WINBASEAPI): Guard with __INSIDE_CYGWIN__.
authordannysmith <dannysmith>
Tue, 24 Aug 2004 23:20:41 +0000 (23:20 +0000)
committerdannysmith <dannysmith>
Tue, 24 Aug 2004 23:20:41 +0000 (23:20 +0000)
winsup/w32api/ChangeLog
winsup/w32api/include/winbase.h

index 172225f..13eae2f 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-25   Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/winbase.h (WINBASEAPI): Guard with __INSIDE_CYGWIN__.
+
 2004-08-24  Sam Robb  <samrobb@users.sourceforge.net>
 
        * include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500
index a71fff2..c362d7b 100644 (file)
@@ -5,8 +5,13 @@
 #endif
 
 #ifndef WINBASEAPI
+#ifdef __INSIDE_CYGWIN__
+#define WINBASEAPI
+#else
 #define WINBASEAPI DECLSPEC_IMPORT
 #endif
+
+#endif
 #ifdef __cplusplus
 extern "C" {
 #endif