diff options
author | Earnie Boyd <earnie@users.sf.net> | 2003-07-02 03:34:36 +0400 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2003-07-02 03:34:36 +0400 |
commit | acd2330e326491769f4f0030fbc91f6d150a38b0 (patch) | |
tree | 9ce7155486d3c1c52cf6afbe9f2e9403cebc7d76 /winsup/mingw | |
parent | d1ba63e1433971df732d90eb6eb6191834c3cfc0 (diff) |
* 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/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/mingw/include/_mingw.h | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 5b01c255a..15fdcaf37 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 cb535b010..71fd1703a 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__ */ |