[pypy-svn] r72315 - pypy/branch/kill-python-h/pypy/rpython/module
afa at codespeak.net
afa at codespeak.net
Wed Mar 17 16:29:35 CET 2010
Author: afa
Date: Wed Mar 17 16:29:34 2010
New Revision: 72315
Modified:
pypy/branch/kill-python-h/pypy/rpython/module/ll_time.py
Log:
On windows, struct timeval is defined in winsock.h or winsock2.h.
It is needed now, probably because the #define WIN32_LEAN_AND_MEAN was moved.
Modified: pypy/branch/kill-python-h/pypy/rpython/module/ll_time.py
==============================================================================
--- pypy/branch/kill-python-h/pypy/rpython/module/ll_time.py (original)
+++ pypy/branch/kill-python-h/pypy/rpython/module/ll_time.py Wed Mar 17 16:29:34 2010
@@ -15,7 +15,8 @@
TIME_H = 'time.h'
FTIME = '_ftime64'
STRUCT_TIMEB = 'struct __timeb64'
- includes = [TIME_H, 'windows.h', 'sys/types.h', 'sys/timeb.h']
+ includes = ['winsock2.h', 'windows.h',
+ TIME_H, 'sys/types.h', 'sys/timeb.h']
else:
TIME_H = 'sys/time.h'
FTIME = 'ftime'
More information about the Pypy-commit
mailing list