summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_and_test.sh4
-rw-r--r--source/kit_test/bench.c2
-rw-r--r--source/kit_test/test.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/build_and_test.sh b/build_and_test.sh
index 00e8bba..c80c6e8 100644
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -7,13 +7,13 @@ COMPILEPP=g++
OBJ_POSTFIX=.o
EXE_POSTFIX=
-if command -v cl.exe >/dev/null 2>&1; then
+if command -v cl.exe >/dev/null 2>&1; then
echo "C compiler found - MSVC"
COMPILE=cl.exe
COMPILEPP=cl.exe
OBJ_POSTFIX=.obj
EXE_POSTFIX=.exe
-elif command -v gcc >/dev/null 2>&1; then
+elif command -v gcc >/dev/null 2>&1; then
echo "C compiler found - GCC"
elif command -v clang >/dev/null 2>&1; then
echo "C compiler found - Clang"
diff --git a/source/kit_test/bench.c b/source/kit_test/bench.c
index cdd69d9..9386bfe 100644
--- a/source/kit_test/bench.c
+++ b/source/kit_test/bench.c
@@ -77,7 +77,7 @@ static void kit_bench_setup_signals() {
for (i = 0; i < sizeof signums / sizeof *signums; i++) {
#if (defined(_WIN32) && !defined(__CYGWIN__)) || \
!defined(_POSIX_C_SOURCE)
- signal(signums[i], handle_signal);
+ signal(signums[i], kit_bench_handle_signal);
#else
struct sigaction action;
memset(&action, 0, sizeof action);
diff --git a/source/kit_test/test.c b/source/kit_test/test.c
index 034d1e7..41ee715 100644
--- a/source/kit_test/test.c
+++ b/source/kit_test/test.c
@@ -48,7 +48,7 @@ static void kit_test_setup_signals() {
for (i = 0; i < sizeof signums / sizeof *signums; i++) {
#if (defined(_WIN32) && !defined(__CYGWIN__)) || \
!defined(_POSIX_C_SOURCE)
- signal(signums[i], handle_signal);
+ signal(signums[i], kit_test_handle_signal);
#else
struct sigaction action;
memset(&action, 0, sizeof action);