aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-08-24 23:20:42 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-08-24 23:20:42 +0000
commit72fdc157bfaf23d45d111fc2249808dd3b3ae8df (patch)
treedb79795a86a126c34436b1d76895c6ff340327d8 /winsup
parentbb647ab68cf28addaf3015e4731c1e8b9e0a294d (diff)
downloadnewlib-72fdc157bfaf23d45d111fc2249808dd3b3ae8df.zip
newlib-72fdc157bfaf23d45d111fc2249808dd3b3ae8df.tar.gz
newlib-72fdc157bfaf23d45d111fc2249808dd3b3ae8df.tar.bz2
* include/winbase.h (WINBASEAPI): Guard with __INSIDE_CYGWIN__.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winbase.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 172225f..13eae2f 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 a71fff2..c362d7b 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