Author: Matti Picus <matti.pi...@gmail.com> Branch: Changeset: r70693:81238d6d4adf Date: 2014-04-17 15:01 +0200 http://bitbucket.org/pypy/pypy/changeset/81238d6d4adf/
Log: make sure winsock2.h precedes windows.h, since windows.h imports old winsock.h diff --git a/rpython/translator/c/src/thread_nt.h b/rpython/translator/c/src/thread_nt.h --- a/rpython/translator/c/src/thread_nt.h +++ b/rpython/translator/c/src/thread_nt.h @@ -1,3 +1,6 @@ +#ifndef _THREAD_NT_H +#define _THREAD_NT_H +#include <WinSock2.h> #include <windows.h> /* @@ -19,4 +22,4 @@ void RPyThreadReleaseLock(struct RPyOpaque_ThreadLock *lock); long RPyThreadGetStackSize(void); long RPyThreadSetStackSize(long); - +#endif _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit