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
This commit is contained in:
Stephen Crowley 2004-06-10 15:39:32 +00:00 committed by Frank Ch. Eigler
parent 9bf7acfccb
commit 339586c817
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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");