[ctypes-commit] ctypes/source/libffi_msvc ffi_common.h,1.5,1.6
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-03-17 21:08:35
|
Update of /cvsroot/ctypes/ctypes/source/libffi_msvc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8744 Modified Files: ffi_common.h Log Message: Include <malloc.h>, for compatibility with mingw. Index: ffi_common.h =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/libffi_msvc/ffi_common.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ffi_common.h 3 Mar 2006 20:20:11 -0000 1.5 --- ffi_common.h 17 Mar 2006 21:08:32 -0000 1.6 *************** *** 14,35 **** #include <fficonfig.h> ! ! /* Do not move this. Some versions of AIX are very picky about where ! this is positioned. */ ! #ifdef __GNUC__ ! # define alloca __builtin_alloca ! #else ! # if HAVE_ALLOCA_H ! # include <alloca.h> ! # else ! # ifdef _AIX ! #pragma alloca ! # else ! # ifndef alloca /* predefined by HP cc +Olibcalls */ ! char *alloca (); ! # endif ! # endif ! # endif ! #endif /* Check for the existence of memcpy. */ --- 14,18 ---- #include <fficonfig.h> ! #include <malloc.h> /* Check for the existence of memcpy. */ |