Commit 1a776c25 authored by Jason Madden's avatar Jason Madden

Try to disable some libuv warnings on Windows.

Turns out we weren't passing the macros we thought we were at all. Whoops.
parent a1d5aced
...@@ -227,6 +227,7 @@ elif WIN: ...@@ -227,6 +227,7 @@ elif WIN:
_define_macro('WIN32', 1) _define_macro('WIN32', 1)
_define_macro('_CRT_SECURE_NO_DEPRECATE', 1) _define_macro('_CRT_SECURE_NO_DEPRECATE', 1)
_define_macro('_CRT_NONSTDC_NO_DEPRECATE', 1) _define_macro('_CRT_NONSTDC_NO_DEPRECATE', 1)
_define_macro('_CRT_SECURE_NO_WARNINGS', 1)
_define_macro('_WIN32_WINNT', '0x0600') _define_macro('_WIN32_WINNT', '0x0600')
_add_library('advapi32') _add_library('advapi32')
_add_library('iphlpapi') _add_library('iphlpapi')
...@@ -242,7 +243,8 @@ ffi.set_source('gevent.libuv._corecffi', ...@@ -242,7 +243,8 @@ ffi.set_source('gevent.libuv._corecffi',
sources=LIBUV_SOURCES, sources=LIBUV_SOURCES,
depends=LIBUV_SOURCES, depends=LIBUV_SOURCES,
include_dirs=LIBUV_INCLUDE_DIRS, include_dirs=LIBUV_INCLUDE_DIRS,
libraries=list(LIBUV_LIBRARIES)) libraries=list(LIBUV_LIBRARIES),
define_macros=list(LIBUV_MACROS))
if __name__ == '__main__': if __name__ == '__main__':
ffi.compile() ffi.compile()
...@@ -263,8 +263,8 @@ class TestSocket(Test): ...@@ -263,8 +263,8 @@ class TestSocket(Test):
listener.close() listener.close()
connector.close() connector.close()
# And produces no output. So disabling this half of the test is a guess.
@greentest.skipOnAppVeyor("This sometimes times out for no apparent reason.")
class TestSSL(Test): class TestSSL(Test):
def _ssl_connect_task(self, connector, port): def _ssl_connect_task(self, connector, port):
......
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