changeset 381:fccbb45a2dae

- test fix: no SIGBUS on windows platforms
author Tassilo Philipp
date Tue, 29 Dec 2020 13:30:59 +0100
parents 76b75fd84c72
children dd5d03483314
files test/thunk/test_thunk.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/thunk/test_thunk.c	Tue Dec 29 11:25:40 2020 +0100
+++ b/test/thunk/test_thunk.c	Tue Dec 29 13:30:59 2020 +0100
@@ -117,8 +117,10 @@
   dcTest_initPlatform();
 
   /* handle possible mem access errors */
-  signal(SIGBUS,  segv_handler);
   signal(SIGSEGV, segv_handler);
+#if !defined(DC_WINDOWS)
+  signal(SIGBUS, segv_handler);
+#endif
 
   printf("Allocating ...\n");
   printf("... W^X memory: ");