diff options
author | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-10 15:39:32 +0000 |
---|---|---|
committer | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-10 15:39:32 +0000 |
commit | 1f6fd927b3b059ac908a626758e9efc275e1ff62 (patch) | |
tree | 4ca9583b654b0e30c6a90041fb9b040eea80b499 /libmudflap | |
parent | 79f51373514cf1f6962fb39242bdea6720bba16a (diff) | |
download | gcc-1f6fd927b3b059ac908a626758e9efc275e1ff62.tar.gz |
2004-06-10 Stephen Crowley <stephen.crowley@sbcglobal.net>
PR libmudflap/13505
* mf-hooks2.c (semctl): Add cygwin porting hack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82923 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap')
-rw-r--r-- | libmudflap/ChangeLog | 5 | ||||
-rw-r--r-- | libmudflap/mf-hooks2.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index 2bcf83d7656..9e5c2483c31 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,8 @@ +2004-06-10 Stephen Crowley <stephen.crowley@sbcglobal.net> + + PR libmudflap/13505 + * mf-hooks2.c (semctl): Add cygwin porting hack. + 2004-06-09 Frank Ch. Eigler <fche@redhat.com> ctype support. diff --git a/libmudflap/mf-hooks2.c b/libmudflap/mf-hooks2.c index ff08d42ef76..31a94b7748a 100644 --- a/libmudflap/mf-hooks2.c +++ b/libmudflap/mf-hooks2.c @@ -1581,8 +1581,8 @@ WRAPPER2(int, semctl, int semid, int semnum, int cmd, union semun arg) "semctl array"); break; #ifdef IPC_INFO - /* FreeBSD 5.1 headers include IPC_INFO but not the __buf field. */ -#if !defined(__FreeBSD__) + /* FreeBSD 5.1 And Cygwin headers include IPC_INFO but not the __buf field. */ +#if !defined(__FreeBSD__) && !defined(__CYGWIN__) case IPC_INFO: MF_VALIDATE_EXTENT (arg.__buf, sizeof (*arg.__buf), __MF_CHECK_WRITE, "semctl __buf"); |