Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r3136:ce24777ce311
Date: 2018-08-08 11:28 +0200
http://bitbucket.org/cffi/cffi/changeset/ce24777ce311/

Log:    msvc support

diff --git a/c/misc_thread_common.h b/c/misc_thread_common.h
--- a/c/misc_thread_common.h
+++ b/c/misc_thread_common.h
@@ -44,11 +44,13 @@
        PyThreadState any more, which are all supposed to be freed anyway
        very soon after the present cffi_tls_shutdown() function is called.
      */
+    PyObject *ofn;
+
     TLS_DEL_LOCK();
     cffi_tls_delete = 0;   /* Py_Finalize() called */
     TLS_DEL_UNLOCK();
 
-    PyObject *ofn = old_exitfunc;
+    ofn = old_exitfunc;
     if (ofn == NULL)
     {
         Py_INCREF(Py_None);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to