Skip to content

Commit febba9f

Browse files
committed
rt: dummy function pthread_atfork for android
1 parent 37733c7 commit febba9f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/rt/rust_android_dummy.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,11 @@ extern "C" void globfree(glob_t *pglob)
7676
{
7777
}
7878

79+
extern "C" int pthread_atfork(void (*prefork)(void),
80+
void (*postfork_parent)(void),
81+
void (*postfork_child)(void))
82+
{
83+
return 0;
84+
}
85+
7986
#endif

0 commit comments

Comments
 (0)