about summary refs log tree commit diff stats
path: root/src/include/mysignal.h
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-04-09 21:21:55 +0800
committerGitHub <noreply@github.com>2025-04-09 15:21:55 +0200
commit5ea247b84c046af8894cbe27ff5596e738fd47a1 (patch)
tree2c0674c4f9a65af832eca9b8097077aee4e2d88d /src/include/mysignal.h
parent8c991cb6762d3a1384cec16d6e54402ce276ea9e (diff)
downloadbox64-5ea247b84c046af8894cbe27ff5596e738fd47a1.tar.gz
box64-5ea247b84c046af8894cbe27ff5596e738fd47a1.zip
Made custommem OS-independent (#2517)
Diffstat (limited to 'src/include/mysignal.h')
-rw-r--r--src/include/mysignal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/mysignal.h b/src/include/mysignal.h
new file mode 100644
index 00000000..5eb1b782
--- /dev/null
+++ b/src/include/mysignal.h
@@ -0,0 +1,15 @@
+#ifndef __MYSIGNAL_H_
+#define __MYSIGNAL_H_
+
+#ifndef _WIN32
+#include <signal.h>
+#else
+typedef struct {
+    int a;
+} sigset_t;
+
+#define sigfillset(x)
+#define pthread_sigmask(a, b, c)
+#endif
+
+#endif // __MYSIGNAL_H_
\ No newline at end of file