etbala / boostport

Boost Software License 1.0
1 stars 1 forks source link

Compiler issue early in build #3

Closed EdenBendheim closed 11 months ago

EdenBendheim commented 1 year ago

After running zopen build -v in boostport, I receive this compiler error:

execunix.cpp:540:33: error: use of undeclared identifier 'wait4'
                while ( ( pid = wait4( cmdtab[ i ].pid, &status, 0, &cmd_usage ) ) == -1 )
                                ^

I thought wait4 was a UNIX command that should be useable in the program. Any help would be appreciated.

EdenBendheim commented 11 months ago

Replaced wait4 with waitpid and removed some parameters, change added in patch.