diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-31 15:46:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-31 15:46:10 -0700 |
commit | a96b03e9c1238fe37772e01e69c2e4f56ea36880 (patch) | |
tree | cc20fedfa8eec76b859e46a6fe11993ceca401b9 /tests/test_sockets.py | |
parent | 52dae3e9b26dd8b4c6ce7989505c41532c090051 (diff) |
remove temporary enet fix, and define gethostbyname_r in a header, so that we can be sure at compilation time that it is used in the way it is expected to be (that function has more than one possible signature in various unixes)
Diffstat (limited to 'tests/test_sockets.py')
-rw-r--r-- | tests/test_sockets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sockets.py b/tests/test_sockets.py index c19b9d5d..d2bc46a2 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -297,7 +297,7 @@ class sockets(BrowserCore): pwd = os.getcwd() os.chdir(self.in_dir('enet')) Popen([PYTHON, path_from_root('emconfigure'), './configure']).communicate() - Popen([PYTHON, path_from_root('emmake'), 'make', 'CFLAGS=-UHAS_GETHOSTBYADDR_R -UHAS_GETHOSTBYNAME_R']).communicate() + Popen([PYTHON, path_from_root('emmake'), 'make']).communicate() enet = [self.in_dir('enet', '.libs', 'libenet.a'), '-I'+path_from_root('tests', 'enet', 'include')] os.chdir(pwd) |