[rtems-tools commit] covoar: Address kill() on Cygwin

Joel Sherrill joel at rtems.org
Fri Jun 22 15:06:06 UTC 2018


Module:    rtems-tools
Branch:    master
Commit:    e86646c36c6783310227a0679973a9cbd93a9314
Changeset: http://git.rtems.org/rtems-tools/commit/?id=e86646c36c6783310227a0679973a9cbd93a9314

Author:    Joel Sherrill <joel at rtems.org>
Date:      Fri Jun 22 10:05:55 2018 -0500

covoar: Address kill() on Cygwin

---

 tester/covoar/TraceConverter.cc | 2 +-
 tester/covoar/covoar.cc         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tester/covoar/TraceConverter.cc b/tester/covoar/TraceConverter.cc
index 57ec6eb..7015e28 100644
--- a/tester/covoar/TraceConverter.cc
+++ b/tester/covoar/TraceConverter.cc
@@ -24,7 +24,7 @@
 #include "app_common.h"
 #include "TargetFactory.h"
 
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__CYGWIN__)
   #define kill(p,s) raise(s)
 #endif
 
diff --git a/tester/covoar/covoar.cc b/tester/covoar/covoar.cc
index 49f0f2a..6e06071 100644
--- a/tester/covoar/covoar.cc
+++ b/tester/covoar/covoar.cc
@@ -30,7 +30,7 @@
 #include "TargetFactory.h"
 #include "GcovData.h"
 
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__CYGWIN__)
   #define kill(p,s) raise(s)
 #endif
 



More information about the vc mailing list