view patches/python-2.6.4-mingw-ctypes.patch @ 6211:37158d8bead6

python-2.4, python-2.6 tools and cross build fixes.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Tue, 28 Aug 2012 19:01:24 +0200
parents
children
line wrap: on
line source

--- python-2.6.4/Modules/_ctypes/callproc.c~	2009-09-18 22:12:29.000000000 +0200
+++ python-2.6.4/Modules/_ctypes/callproc.c	2012-08-30 13:55:18.392622132 +0200
@@ -811,7 +811,7 @@
 #ifndef DONT_USE_SEH
 	__try {
 #endif
-		delta =
+	  delta = 0;
 #endif
 			ffi_call(&cif, (void *)pProc, resmem, avalues);
 #ifdef MS_WIN32