summaryrefslogtreecommitdiffstats
path: root/libmudflap/mf-hooks2.c
diff options
context:
space:
mode:
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-10 15:39:32 +0000
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-10 15:39:32 +0000
commit1f6fd927b3b059ac908a626758e9efc275e1ff62 (patch)
tree4ca9583b654b0e30c6a90041fb9b040eea80b499 /libmudflap/mf-hooks2.c
parent79f51373514cf1f6962fb39242bdea6720bba16a (diff)
downloadppe42-gcc-1f6fd927b3b059ac908a626758e9efc275e1ff62.tar.gz
ppe42-gcc-1f6fd927b3b059ac908a626758e9efc275e1ff62.zip
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/mf-hooks2.c')
-rw-r--r--libmudflap/mf-hooks2.c4
1 files changed, 2 insertions, 2 deletions
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");
OpenPOWER on IntegriCloud