harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r498787 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c
Date Mon, 22 Jan 2007 20:36:09 GMT
Author: hindessm
Date: Mon Jan 22 12:36:09 2007
New Revision: 498787

URL: http://svn.apache.org/viewvc?view=rev&rev=498787
Log:
Freebsd sigvec has different signature.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c?view=diff&rev=498787&r1=498786&r2=498787
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c
Mon Jan 22 12:36:09 2007
@@ -158,8 +158,11 @@
 /*                                                                   */
 /* Returns:                                                          */
 /*********************************************************************/
-int
-sigvec (int sig, const struct sigvec *invec, struct sigvec *outvec)
+#if defined(FREEBSD)
+int sigvec (int sig, struct sigvec *invec, struct sigvec *outvec)
+#else
+int sigvec (int sig, const struct sigvec *invec, struct sigvec *outvec)
+#endif
 {
   int i;
   int status;



Mime
View raw message