Comment #4 on issue 248 by ryan.drake.08: protobuf will not compile without thread library
http://code.google.com/p/protobuf/issues/detail?id=248

Brew mobile platform, with the RVCT4.0 ARM compiler.

I think HAVE_PTHREAD should be around all code blocks that require pthread.h, but I agree that you don't want to fall back to unsafe code unless the user takes affirmative action during configure.

Perhaps keep the HAVE_PTHREAD define and put it around all the pthread code, and then add --without-thread-safety and make it set some kind of WITH_STUBBED_THREAD define that would enable the stubs?

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to