summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-10-14 15:00:49 -0400
committerJeffrey Walton <noloader@gmail.com>2016-10-14 15:00:49 -0400
commit5596f73371b11e702d0c7afae1e39b7196ac9391 (patch)
treeb557cbae0888d64d9bb0dcb6c048a6f29561a1fb /test.cpp
parent7ce3922b97720853a5b143389678de256cb9ed72 (diff)
downloadcryptopp-git-5596f73371b11e702d0c7afae1e39b7196ac9391.tar.gz
Fix Cygwin Newlib signal handler (Issue 315)
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.cpp b/test.cpp
index 46f3e8ea..97d8731b 100644
--- a/test.cpp
+++ b/test.cpp
@@ -126,7 +126,7 @@ RandomNumberGenerator & GlobalRNG()
}
// See misc.h and trap.h for comments and usage
-#if CRYPTOPP_DEBUG && (defined(CRYPTOPP_BSD_AVAILABLE) || defined(CRYPTOPP_UNIX_AVAILABLE))
+#if CRYPTOPP_DEBUG && defined(UNIX_SIGNALS_AVAILABLE)
static const SignalHandler<SIGTRAP, false> s_dummyHandler;
// static const DebugTrapHandler s_dummyHandler;
#endif