re PR libmudflap/13505 ([tree-ssa] libmudflap mf-hooks2.c build failure on cygwin)
authorStephen Crowley <stephen.crowley@sbcglobal.net>
Thu, 10 Jun 2004 15:39:32 +0000 (15:39 +0000)
committerFrank Ch. Eigler <fche@gcc.gnu.org>
Thu, 10 Jun 2004 15:39:32 +0000 (15:39 +0000)
2004-06-10  Stephen Crowley  <stephen.crowley@sbcglobal.net>

PR libmudflap/13505
* mf-hooks2.c (semctl): Add cygwin porting hack.

From-SVN: r82923

libmudflap/ChangeLog
libmudflap/mf-hooks2.c

index 2bcf83d7656e02c29b1c6abe11b4d968921468c2..9e5c2483c31837de0d37b166b051035c7e9e6dab 100644 (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.
index ff08d42ef7610414bc1b899a1b8ae46e0c1b0c58..31a94b7748a6567c2a637148f925b6ead9550105 100644 (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");