aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/mf-hooks2.c
diff options
context:
space:
mode:
authorStephen Crowley <stephen.crowley@sbcglobal.net>2004-06-10 15:39:32 +0000
committerFrank Ch. Eigler <fche@gcc.gnu.org>2004-06-10 15:39:32 +0000
commit339586c817ea6e5481d1d10f604f50c81ead3645 (patch)
tree4ca9583b654b0e30c6a90041fb9b040eea80b499 /libmudflap/mf-hooks2.c
parent9bf7acfccbac7fe9541cd27ef2961c763144787c (diff)
downloadgcc-339586c817ea6e5481d1d10f604f50c81ead3645.zip
gcc-339586c817ea6e5481d1d10f604f50c81ead3645.tar.gz
gcc-339586c817ea6e5481d1d10f604f50c81ead3645.tar.bz2
re PR libmudflap/13505 ([tree-ssa] libmudflap mf-hooks2.c build failure on cygwin)
2004-06-10 Stephen Crowley <stephen.crowley@sbcglobal.net> PR libmudflap/13505 * mf-hooks2.c (semctl): Add cygwin porting hack. From-SVN: r82923
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 ff08d42..31a94b7 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");