mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
, added patch-gestaltmodule.c.diff
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
*** Mac/Modules/gestaltmodule.c 2010-11-21 15:35:00.000000000 +0900
|
||||
--- Mac/Modules/gestaltmodule.c.new 2010-11-21 15:48:27.000000000 +0900
|
||||
***************
|
||||
*** 34,40 ****
|
||||
{
|
||||
OSErr iErr;
|
||||
OSType selector;
|
||||
! long response;
|
||||
if (!PyArg_Parse(args, "O&", PyMac_GetOSType, &selector))
|
||||
return NULL;
|
||||
iErr = Gestalt ( selector, &response );
|
||||
--- 34,40 ----
|
||||
{
|
||||
OSErr iErr;
|
||||
OSType selector;
|
||||
! SInt32 response;
|
||||
if (!PyArg_Parse(args, "O&", PyMac_GetOSType, &selector))
|
||||
return NULL;
|
||||
iErr = Gestalt ( selector, &response );
|
||||
Reference in New Issue
Block a user