From eb0aad419b6980e2480d32ab7a9c965517e6a231 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Mon, 4 Feb 2008 11:21:40 +0000 Subject: [PATCH] Fix for [ 1875235 ] On older Cygwin, SA_ONESHOT isn't known git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@994 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 2 ++ jtag/src/svf/svf.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 39c1d524..8105be0d 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -3,6 +3,8 @@ * configure.ac, src/tap/parport/xpcu_common.c, src/tap/parport_xpcu_pp.c, doc/UrJTAG.txt: Minor fixes regarding bug [1875234] "Can't compile UrJTAG with libusb on Cygwin" + * src/svf/svf.c: define SA_ONESHOT SA_RESETHAND, fixes bug [1875235] + (On older Cygwin, SA_ONESHOT isn't known) 2008-02-03 Kolja Waschk diff --git a/jtag/src/svf/svf.c b/jtag/src/svf/svf.c index f9cd4af8..b4e0e44a 100644 --- a/jtag/src/svf/svf.c +++ b/jtag/src/svf/svf.c @@ -36,6 +36,9 @@ #include #include #include +#ifndef SA_ONESHOT +#define SA_ONESHOT SA_RESETHAND +#endif #include "sysdep.h"