Make the last bunch of libevent version detection silliness work on macosx.

svn:r18015
This commit is contained in:
Nick Mathewson 2009-01-07 21:13:02 +00:00
parent a6504cdea7
commit a0a5440826

View File

@ -4743,7 +4743,7 @@ init_libevent(void)
*/
suppress_libevent_log_msg("Function not implemented");
#ifdef __APPLE__
if (decode_libevent_version(event_get_version()) < LE_11B) {
if (decode_libevent_version(event_get_version(), NULL) < LE_11B) {
setenv("EVENT_NOKQUEUE","1",1);
}
#endif