diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-08-25 03:20:42 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-08-25 03:20:42 +0400 |
commit | 72fdc157bfaf23d45d111fc2249808dd3b3ae8df (patch) | |
tree | db79795a86a126c34436b1d76895c6ff340327d8 /winsup | |
parent | bb647ab68cf28addaf3015e4731c1e8b9e0a294d (diff) |
* include/winbase.h (WINBASEAPI): Guard with __INSIDE_CYGWIN__.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 172225f62..13eae2ff0 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -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 diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index a71fff2a1..c362d7b4b 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -5,8 +5,13 @@ #endif #ifndef WINBASEAPI +#ifdef __INSIDE_CYGWIN__ +#define WINBASEAPI +#else #define WINBASEAPI DECLSPEC_IMPORT #endif + +#endif #ifdef __cplusplus extern "C" { #endif |