提交 adc96a96 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fix for LazyLinker under Windows: the proper include for timeval is sys/time.h, not time.h

上级 d1de3e4a
#include <Python.h> #include <Python.h>
#include "structmember.h" #include "structmember.h"
#include <sys/time.h>
/** /**
TODO: TODO:
...@@ -11,7 +12,6 @@ TODO: ...@@ -11,7 +12,6 @@ TODO:
*/ */
#include <time.h>
static double pytime(const struct timeval * tv) static double pytime(const struct timeval * tv)
{ {
struct timeval t; struct timeval t;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论