This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/44003] gcc 4.5.0 stddef.h clobbers __size_t with #define, breaks VMS (code already avoids similar on FreeBSD)‏
- From: "jay dot krell at cornell dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2010 23:01:03 -0000
- Subject: [Bug c/44003] gcc 4.5.0 stddef.h clobbers __size_t with #define, breaks VMS (code already avoids similar on FreeBSD)‏
- References: <bug-44003-16543@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jay dot krell at cornell dot edu 2010-05-10 23:01 -------
ps:
#if (defined (__FreeBSD__) && (__FreeBSD__>= 5)) || defined(__vms)
can probably just be:
#if __FreeBSD__>= 5 || defined(__vms)
or:
#if __FreeBSD__ | __vms
assuming the #define can also be be ommited on FreeBSD < 5, or that FreeBSD < 5
isn't supported, and depending on undefined to evaluate to 0.
- Jay
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44003