Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread/arch/m68k SA_SIGINFO support for m68k (libpth...



details:   https://anonhg.NetBSD.org/src/rev/2de34c2767a0
branches:  trunk
changeset: 552262:2de34c2767a0
user:      cl <cl%NetBSD.org@localhost>
date:      Mon Sep 22 14:45:48 2003 +0000

description:
SA_SIGINFO support for m68k (libpthread)

diffstat:

 lib/libpthread/arch/m68k/pthread_md.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r af20d82e4ba6 -r 2de34c2767a0 lib/libpthread/arch/m68k/pthread_md.c
--- a/lib/libpthread/arch/m68k/pthread_md.c     Mon Sep 22 14:42:02 2003 +0000
+++ b/lib/libpthread/arch/m68k/pthread_md.c     Mon Sep 22 14:45:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_md.c,v 1.4 2003/07/26 18:33:06 mrg Exp $       */
+/*     $NetBSD: pthread_md.c,v 1.5 2003/09/22 14:45:48 cl Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,16 +37,18 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_md.c,v 1.4 2003/07/26 18:33:06 mrg Exp $");
+__RCSID("$NetBSD: pthread_md.c,v 1.5 2003/09/22 14:45:48 cl Exp $");
 
 #define        __PTHREAD_SIGNAL_PRIVATE
 
+#include <signal.h>
 #include <string.h>
 #include <assert.h>
 
 #include "pthread.h"
 #include "pthread_int.h"
 
+#ifndef __HAVE_SIGINFO
 /*
  * We only need this to know how much data to copy.
  */
@@ -93,3 +95,4 @@
 
        uc->uc_flags &= ~_UC_SIGMASK;
 }
+#endif



Home | Main Index | Thread Index | Old Index