aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-02 23:28:16 -0400
committerJack Lloyd <[email protected]>2017-10-02 23:28:16 -0400
commit59f461caed52415169e496b584d3ccebe5f49b2c (patch)
tree17645e4be20326422e605f2eca8cfc7e4e6a61e4
parentd543843c8da753c0b7fa60f378c7c16294aaf982 (diff)
sigemptyset is a macro on OS X
-rw-r--r--src/lib/utils/os_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp
index 02ce1322a..3f7d3cfde 100644
--- a/src/lib/utils/os_utils.cpp
+++ b/src/lib/utils/os_utils.cpp
@@ -640,7 +640,7 @@ int OS::run_cpu_instruction_probe(std::function<int ()> probe_fn)
struct sigaction sigaction;
sigaction.sa_handler = botan_sigill_handler;
- ::sigemptyset(&sigaction.sa_mask);
+ sigemptyset(&sigaction.sa_mask);
sigaction.sa_flags = 0;
int rc = ::sigaction(SIGILL, &sigaction, &old_sigaction);