[pypy-svn] r15731 - pypy/dist/pypy/translator/c/src

arigo at codespeak.net arigo at codespeak.net
Sat Aug 6 16:32:31 CEST 2005


Author: arigo
Date: Sat Aug  6 16:32:28 2005
New Revision: 15731

Modified:
   pypy/dist/pypy/translator/c/src/ll_time.h
Log:
Don't include <sys/time.h> on Windows.  (thanks xorAxAx)


Modified: pypy/dist/pypy/translator/c/src/ll_time.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/ll_time.h	(original)
+++ pypy/dist/pypy/translator/c/src/ll_time.h	Sat Aug  6 16:32:28 2005
@@ -1,8 +1,10 @@
 /************************************************************/
  /***  C header subsection: time module                    ***/
 
-#include <sys/time.h>
 #include <time.h>
+#ifndef MS_WINDOWS
+#  include <sys/time.h>
+#endif
 
 
 /****** clock() ******/



More information about the Pypy-commit mailing list