@@ -1390,9 +1390,7 @@ static
13901390int cataloginfo_from_dict (FSCatalogInfoBitmap bitmap , FSCatalogInfo * info , const PyObject * dict )
13911391{
13921392 UInt32 storage ;
1393- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
13941393 FSPermissionInfo * permissions ;
1395- #endif
13961394
13971395 // Dates
13981396 if (fetch_utcdatetime (bitmap , kFSCatInfoCreateDate , dict , _kFSCatInfoCreateDate , & info -> createDate )) return NULL ;
@@ -1401,7 +1399,6 @@ int cataloginfo_from_dict(FSCatalogInfoBitmap bitmap, FSCatalogInfo *info, const
14011399 if (fetch_utcdatetime (bitmap , kFSCatInfoAccessDate , dict , _kFSCatInfoAccessDate , & info -> accessDate )) return NULL ;
14021400 if (fetch_utcdatetime (bitmap , kFSCatInfoBackupDate , dict , _kFSCatInfoBackupDate , & info -> backupDate )) return NULL ;
14031401
1404- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
14051402 // Permissions
14061403 permissions = (FSPermissionInfo * ) info -> permissions ;
14071404 if (fetch_long (bitmap , kFSCatInfoPermissions , dict , _kFSCatInfoUserID , & permissions -> userID )) return NULL ;
@@ -1410,7 +1407,6 @@ int cataloginfo_from_dict(FSCatalogInfoBitmap bitmap, FSCatalogInfo *info, const
14101407 permissions -> mode = (UInt16 ) storage ;
14111408 if (fetch_long (bitmap , kFSCatInfoPermissions , dict , _kFSCatInfoUserAccess , & storage )) return NULL ;
14121409 permissions -> userAccess = (UInt8 ) storage ;
1413- #endif
14141410 // IDs
14151411 if (fetch_long (bitmap , kFSCatInfoTextEncoding , dict , _kFSCatInfoTextEncoding , & info -> textEncodingHint )) return NULL ;
14161412 if (fetch_long (bitmap , kFSCatInfoNodeFlags , dict , _kFSCatInfoNodeFlags , & storage )) return NULL ;
@@ -1441,9 +1437,7 @@ PyObject *dict_from_cataloginfo(FSCatalogInfoBitmap bitmap, const FSCatalogInfo
14411437{
14421438 PyObject * dict ;
14431439 PyObject * id ;
1444- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
14451440 FSPermissionInfo * permissions ;
1446- #endif
14471441 char buffer [1024 ];
14481442
14491443 dict = PyDict_New ();
@@ -1473,14 +1467,12 @@ PyObject *dict_from_cataloginfo(FSCatalogInfoBitmap bitmap, const FSCatalogInfo
14731467 if (insert_longlong (bitmap , kFSCatInfoRsrcSizes , dict , _kFSCatInfoRsrcLogical , info -> rsrcLogicalSize )) return NULL ;
14741468 if (insert_longlong (bitmap , kFSCatInfoRsrcSizes , dict , _kFSCatInfoRsrcPhysical , info -> rsrcPhysicalSize )) return NULL ;
14751469
1476- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
14771470 // Permissions
14781471 permissions = (FSPermissionInfo * ) info -> permissions ;
14791472 if (insert_long (bitmap , kFSCatInfoPermissions , dict , _kFSCatInfoUserID , permissions -> userID )) return NULL ;
14801473 if (insert_long (bitmap , kFSCatInfoPermissions , dict , _kFSCatInfoGroupID , permissions -> groupID )) return NULL ;
14811474 if (insert_long (bitmap , kFSCatInfoPermissions , dict , _kFSCatInfoUserAccess , permissions -> userAccess )) return NULL ;
14821475 if (insert_long (bitmap , kFSCatInfoPermissions , dict , _kFSCatInfoMode , permissions -> mode )) return NULL ;
1483- #endif
14841476
14851477 // Dates
14861478 if (insert_utcdatetime (bitmap , kFSCatInfoCreateDate , dict , _kFSCatInfoCreateDate , & info -> createDate )) return NULL ;
0 commit comments