Commit 482c5daa authored by Denis Bilenko's avatar Denis Bilenko

prevent bogus complains about libevent version mismatch due to invalid VERSION...

prevent bogus complains about libevent version mismatch due to invalid VERSION define in libevent's config.h on windows
parent 17d27814
......@@ -488,7 +488,7 @@ include "evdns.pxi"
# XXX - make sure event queue is always initialized.
init()
if get_version() != get_header_version() and get_header_version() is not None:
if get_version() != get_header_version() and get_header_version() is not None and get_version() != '1.3.99-trunk':
import warnings
msg = "libevent version mismatch: system version is %r but this gevent is compiled against %r" % (get_version(), get_header_version())
warnings.warn(msg, UserWarning, stacklevel=2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment