aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/python26/Python-2.6.5-ffi-static.patch
blob: 188b1f4e5b795571a466375ea201bcfe607e1b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- Modules/_ctypes/cfield.c	2013-01-20 19:19:53.000000000 -0500
+++ Modules/_ctypes/cfield.c	2013-01-20 19:34:07.000000000 -0500
@@ -1743,6 +1743,7 @@
 */
 
 /* align and size are bogus for void, but they must not be zero */
+/*
 ffi_type ffi_type_void = { 1, 1, FFI_TYPE_VOID };
 
 ffi_type ffi_type_uint8 = { 1, 1, FFI_TYPE_UINT8 };
@@ -1759,14 +1760,16 @@
 
 ffi_type ffi_type_float = { sizeof(float), FLOAT_ALIGN, FFI_TYPE_FLOAT };
 ffi_type ffi_type_double = { sizeof(double), DOUBLE_ALIGN, FFI_TYPE_DOUBLE };
+*/
 
 #ifdef ffi_type_longdouble
 #undef ffi_type_longdouble
 #endif
   /* This is already defined on OSX */
+/*
 ffi_type ffi_type_longdouble = { sizeof(long double), LONGDOUBLE_ALIGN,
 				 FFI_TYPE_LONGDOUBLE };
 
 ffi_type ffi_type_pointer = { sizeof(void *), VOID_P_ALIGN, FFI_TYPE_POINTER };
-
+*/
 /*---------------- EOF ----------------*/