Commit 339586c8 by Stephen Crowley Committed by Frank Ch. Eigler

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
parent 9bf7acfc
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.
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment