X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FForkAndExec.cpp;h=48a8dc18bac36621cedfd50d7ef5f1ae9ae7df66;hb=fd66e60622e8e139753f62454cfdd5be662e39a0;hp=ac30dd0282195e4430019d61901bf9abd1078d0e;hpb=a1b265e9eba018e9ea510c9224953c27fc271bc9;p=m6w6%2Flibmemcached diff --git a/test/lib/ForkAndExec.cpp b/test/lib/ForkAndExec.cpp index ac30dd02..48a8dc18 100644 --- a/test/lib/ForkAndExec.cpp +++ b/test/lib/ForkAndExec.cpp @@ -107,7 +107,7 @@ void ForkAndExec::closePipe(int &fd) { } void ForkAndExec::pollExecReadyPipe() { -#if __APPLE__ +#if __APPLE__ || __FreeBSD__ char c, n = 50; do { if (0 == read(ready[mode::READ], &c, 1)) {