]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/morefilex/MoreFilesX.c
Test to avoid crashes in some circumstances
[wxWidgets.git] / src / mac / carbon / morefilex / MoreFilesX.c
index d380e0d11c65350838dbf5a8eeb5d1d6076df19b..2b64705351ee637b0fdfe2d50794c3d918f4090e 100644 (file)
@@ -69,6 +69,8 @@
                 <1>     1/25/02        JL              MoreFilesX 1.0
 */
 
+#ifndef __LP64__
+
 #if defined(__MACH__)
        #include <Carbon/Carbon.h>
        #include <string.h>
@@ -218,6 +220,8 @@ BadParameter:
 
 /*****************************************************************************/ 
 
+#ifndef __LP64__ 
+
 OSErr
 FSGetVolParms(
        FSVolumeRefNum volRefNum,
@@ -248,6 +252,8 @@ BadParameter:
        return ( result );
 }
 
+#endif
+
 /*****************************************************************************/
 
 OSErr
@@ -2121,8 +2127,10 @@ BadParameter:
 
 /*****************************************************************************/
 
+#ifndef __LP64__ 
+
 OSErr
-FSLockRange(
+FSLockRangeMoreFilesX(
        SInt16 refNum,
        SInt32 rangeLength,
        SInt32 rangeStart)
@@ -2145,7 +2153,7 @@ PBLockRangeSync:
 /*****************************************************************************/
 
 OSErr
-FSUnlockRange(
+FSUnlockRangeMoreFilesX(
        SInt16 refNum,
        SInt32 rangeLength,
        SInt32 rangeStart)
@@ -2304,7 +2312,7 @@ BadParameter:
 /*****************************************************************************/
 
 OSErr
-FSVolumeMount(
+FSVolumeMountX(
        const void *volMountInfo,
        FSVolumeRefNum *volRefNum)
 {
@@ -2604,6 +2612,8 @@ BadParameter:
        return ( result );
 }
 
+#endif
+
 /*****************************************************************************/
 
 #pragma mark ----- Utility Routines -----
@@ -2768,3 +2778,5 @@ BadParameter:
 }
 
 /*****************************************************************************/
+
+#endif