From: Stephen Crowley Date: Thu, 10 Jun 2004 15:39:32 +0000 (+0000) Subject: re PR libmudflap/13505 ([tree-ssa] libmudflap mf-hooks2.c build failure on cygwin) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=339586c817ea6e5481d1d10f604f50c81ead3645;p=gcc.git re PR libmudflap/13505 ([tree-ssa] libmudflap mf-hooks2.c build failure on cygwin) 2004-06-10 Stephen Crowley PR libmudflap/13505 * mf-hooks2.c (semctl): Add cygwin porting hack. From-SVN: r82923 --- 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 + + PR libmudflap/13505 + * mf-hooks2.c (semctl): Add cygwin porting hack. + 2004-06-09 Frank Ch. Eigler 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");