Browse Source

libc: add siginterrupt dummy

libc
Emery Hemingway 4 months ago
parent
commit
99f15358e2
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      repos/libports/src/lib/libc/signal.cc

+ 3
- 0
repos/libports/src/lib/libc/signal.cc View File

@@ -131,6 +131,9 @@ extern "C" int sigaction(int signum, const struct sigaction *act, struct sigacti
131 131
 }
132 132
 
133 133
 
134
+extern "C" int siginterrupt(int sig, int flag) { return 0; };
135
+
136
+
134 137
 extern "C" int       _sigaction(int, const struct sigaction *, struct sigaction *) __attribute__((weak, alias("sigaction")));
135 138
 extern "C" int  __sys_sigaction(int, const struct sigaction *, struct sigaction *) __attribute__((weak, alias("sigaction")));
136 139
 extern "C" int __libc_sigaction(int, const struct sigaction *, struct sigaction *) __attribute__((weak, alias("sigaction")));

Loading…
Cancel
Save