Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 6e06348

Browse files
enh-googleGerrit Code Review
authored andcommitted
Merge "Add _Fork() to POSIX header tests." into main
2 parents 75237ed + 9d3d38c commit 6e06348

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/headers/posix/unistd_h.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ static void unistd_h() {
331331
FUNCTION(fdatasync, int (*f)(int));
332332
FUNCTION(fexecve, int (*f)(int, char* const[], char* const[]));
333333
FUNCTION(fork, pid_t (*f)(void));
334+
#if !defined(__GLIBC__) // Our glibc is too old.
335+
FUNCTION(_Fork, pid_t (*f)(void));
336+
#endif
334337
FUNCTION(fpathconf, long (*f)(int, int));
335338
FUNCTION(fsync, int (*f)(int));
336339
FUNCTION(ftruncate, int (*f)(int, off_t));

0 commit comments

Comments
 (0)