[pypy-svn] r59193 - pypy/branch/cbuild-refactor/pypy/translator/c/src
afa at codespeak.net
afa at codespeak.net
Fri Oct 17 17:34:36 CEST 2008
Author: afa
Date: Fri Oct 17 17:34:36 2008
New Revision: 59193
Modified:
pypy/branch/cbuild-refactor/pypy/translator/c/src/thread_nt.h
Log:
Try to correctly declare a thread-local variable on Windows
Modified: pypy/branch/cbuild-refactor/pypy/translator/c/src/thread_nt.h
==============================================================================
--- pypy/branch/cbuild-refactor/pypy/translator/c/src/thread_nt.h (original)
+++ pypy/branch/cbuild-refactor/pypy/translator/c/src/thread_nt.h Fri Oct 17 17:34:36 2008
@@ -234,6 +234,7 @@
/* Thread-local storage */
#define RPyThreadTLS DWORD
+#define __thread __declspec(thread)
char *RPyThreadTLS_Create(RPyThreadTLS *result)
{
More information about the Pypy-commit
mailing list