kopia lustrzana https://github.com/Hamlib/Hamlib
NetBSD HAVE_SIGINFO_T but no SA_SIGINFO
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1477 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.0
rodzic
597d8e177c
commit
a22c42b701
|
@ -2,7 +2,7 @@
|
||||||
* Hamlib Interface - event handling
|
* Hamlib Interface - event handling
|
||||||
* Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton
|
* Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton
|
||||||
*
|
*
|
||||||
* $Id: event.c,v 1.17 2003-05-03 13:17:25 fillods Exp $
|
* $Id: event.c,v 1.18 2003-06-21 11:10:52 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -82,7 +82,7 @@ int add_trn_rig(RIG *rig)
|
||||||
|
|
||||||
sigemptyset(&act.sa_mask);
|
sigemptyset(&act.sa_mask);
|
||||||
|
|
||||||
#ifdef HAVE_SIGINFO_T
|
#if defined(HAVE_SIGINFO_T) && defined(SA_SIGINFO)
|
||||||
act.sa_flags = SA_SIGINFO;
|
act.sa_flags = SA_SIGINFO;
|
||||||
#else
|
#else
|
||||||
act.sa_flags = 0;
|
act.sa_flags = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue