X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FForkAndExec.cpp;fp=test%2Flib%2FForkAndExec.cpp;h=ac30dd0282195e4430019d61901bf9abd1078d0e;hb=6902b8f64cb873d294e75867a8150bc1e13f9bed;hp=48a8dc18bac36621cedfd50d7ef5f1ae9ae7df66;hpb=cccb947de4b9f6ed7a83f573017438fd8ecc6626;p=awesomized%2Flibmemcached diff --git a/test/lib/ForkAndExec.cpp b/test/lib/ForkAndExec.cpp index 48a8dc18..ac30dd02 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__ || __FreeBSD__ +#if __APPLE__ char c, n = 50; do { if (0 == read(ready[mode::READ], &c, 1)) {