aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-28 05:11:16 -0500
committerJack Lloyd <[email protected]>2017-12-28 06:28:39 -0500
commitbbeb0675d334adca030a6531d8b067d43df4c9df (patch)
tree7f2426307b33cc005302109f2da8a9bf6a33cd17 /src
parenta302d9bfd115a7138a5f044c4a1c841c1629ede1 (diff)
Avoid prefixing siglongjmp or sigsetjmp with ::
Apparently these are macros on Cygwin/newlib
Diffstat (limited to 'src')
-rw-r--r--src/lib/utils/os_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp
index 833afecc6..48890964a 100644
--- a/src/lib/utils/os_utils.cpp
+++ b/src/lib/utils/os_utils.cpp
@@ -363,7 +363,7 @@ static ::sigjmp_buf g_sigill_jmp_buf;
void botan_sigill_handler(int)
{
- ::siglongjmp(g_sigill_jmp_buf, /*non-zero return value*/1);
+ siglongjmp(g_sigill_jmp_buf, /*non-zero return value*/1);
}
}
@@ -386,7 +386,7 @@ int OS::run_cpu_instruction_probe(std::function<int ()> probe_fn)
if(rc != 0)
throw Exception("run_cpu_instruction_probe sigaction failed");
- rc = ::sigsetjmp(g_sigill_jmp_buf, /*save sigs*/1);
+ rc = sigsetjmp(g_sigill_jmp_buf, /*save sigs*/1);
if(rc == 0)
{