aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2003-07-01 23:34:36 +0000
committerEarnie Boyd <earnie@users.sf.net>2003-07-01 23:34:36 +0000
commitacd2330e326491769f4f0030fbc91f6d150a38b0 (patch)
tree9ce7155486d3c1c52cf6afbe9f2e9403cebc7d76 /winsup/mingw
parentd1ba63e1433971df732d90eb6eb6191834c3cfc0 (diff)
downloadnewlib-acd2330e326491769f4f0030fbc91f6d150a38b0.zip
newlib-acd2330e326491769f4f0030fbc91f6d150a38b0.tar.gz
newlib-acd2330e326491769f4f0030fbc91f6d150a38b0.tar.bz2
* include/_mingw.h (small, hyper): Change to __small and __hyper to
avoid user space name conflicts.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/include/_mingw.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 5b01c25..15fdcaf 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,5 +1,10 @@
2003-07-01 Earnie Boyd <earnie@users.sf.net>
+ * include/_mingw.h (small, hyper): Change to __small and __hyper to
+ avoid user space name conflicts.
+
+2003-07-01 Earnie Boyd <earnie@users.sf.net>
+
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to w32api/include/basetyps.h.
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
diff --git a/winsup/mingw/include/_mingw.h b/winsup/mingw/include/_mingw.h
index cb535b0..71fd170 100644
--- a/winsup/mingw/include/_mingw.h
+++ b/winsup/mingw/include/_mingw.h
@@ -92,11 +92,11 @@
# ifndef __int8
# define __int8 char
# endif
-# ifndef small
-# define small char
+# ifndef __small
+# define __small char
# endif
-# ifndef hyper
-# define hyper long long
+# ifndef __hyper
+# define __hyper long long
# endif
#endif /* __GNUC__ */