VirtualBox

Ignore:
Timestamp:
Feb 4, 2007 12:25:57 PM (18 years ago)
Author:
vboxsync
Message:

Make it build and run on Mac OS X.

Location:
trunk/src/libs/xpcom18a4/xpcom/MoreFiles
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/MoreFiles/FSCopyObject.c

    r1 r589  
    4444        Copyright © 2002 Apple Computer, Inc., All Rights Reserved
    4545*/
     46
     47// Modified 2006-01-23 - added this comment.
    4648
    4749#include "FSCopyObject.h"
  • trunk/src/libs/xpcom18a4/xpcom/MoreFiles/FSCopyObject.h

    r1 r589  
    4242*/
    4343
     44// Modified 2006-01-23 - added this comment.
    4445
    4546#ifndef __FSCOPYOBJECT_H__
  • trunk/src/libs/xpcom18a4/xpcom/MoreFiles/MoreFilesX.c

    r1 r589  
    6969                 <1>     1/25/02        JL              MoreFilesX 1.0
    7070*/
     71
     72// Modified 2006-01-23 - added this comment.
    7173
    7274#if defined(__MACH__)
     
    21252127/*****************************************************************************/
    21262128
    2127 OSErr
    2128 FSLockRange(
     2129/* Renamed from FSLockRange to MFX_FSLockRange to avoid a conflict with
     2130 * the FSLockRange function present in the system library since Mac OS X
     2131 * 10.4. */
     2132
     2133OSErr
     2134MFX_FSLockRange(
    21292135        SInt16 refNum,
    21302136        SInt32 rangeLength,
     
    21482154/*****************************************************************************/
    21492155
    2150 OSErr
    2151 FSUnlockRange(
     2156/* Renamed from FSUnlockRange to MFX_FSUnlockRange to avoid a conflict with
     2157 * the FSUnlockRange function present in the system library since Mac OS X
     2158 * 10.4. */
     2159
     2160OSErr
     2161MFX_FSUnlockRange(
    21522162        SInt16 refNum,
    21532163        SInt32 rangeLength,
     
    23072317/*****************************************************************************/
    23082318
     2319// This function exists in Mac OS X 10.5, we cannot re-define it here.
     2320// We don't use this function, so just don't compile it.
     2321#if 0
    23092322OSErr
    23102323FSVolumeMount(
     
    23302343        return ( result );
    23312344}
     2345#endif
    23322346
    23332347/*****************************************************************************/
  • trunk/src/libs/xpcom18a4/xpcom/MoreFiles/MoreFilesX.h

    r1 r589  
    8484                                do less work.
    8585*/
     86
     87// Modified 2006-01-23 - added this comment.
    8688
    8789#ifndef __MOREFILESX__
     
    13331335/*****************************************************************************/
    13341336
    1335 #pragma mark FSLockRange
    1336 
    1337 OSErr
    1338 FSLockRange(
     1337#pragma mark MFX_FSLockRange
     1338/* Renamed from FSLockRange to MFX_FSLockRange to avoid a conflict with
     1339 * the FSLockRange function present in the system library since Mac OS X
     1340 * 10.4. */
     1341
     1342OSErr
     1343MFX_FSLockRange(
    13391344        SInt16 refNum,
    13401345        SInt32 rangeLength,
     
    13561361/*****************************************************************************/
    13571362
    1358 #pragma mark FSUnlockRange
    1359 
    1360 OSErr
    1361 FSUnlockRange(
     1363#pragma mark MFX_FSUnlockRange
     1364/* Renamed from FSUnlockRange to MFX_FSUnlockRange to avoid a conflict with
     1365 * the FSUnlockRange function present in the system library since Mac OS X
     1366 * 10.4. */
     1367
     1368OSErr
     1369MFX_FSUnlockRange(
    13621370        SInt16 refNum,
    13631371        SInt32 rangeLength,
     
    14831491#pragma mark FSVolumeMount
    14841492
     1493// This function exists in Mac OS X 10.5, we cannot re-define it here.
     1494// We don't use this function, so just don't compile it.
     1495#if 0
    14851496OSErr
    14861497FSVolumeMount(
    14871498        const void *volMountInfo,
    14881499        FSVolumeRefNum *volRefNum);
     1500#endif
    14891501
    14901502/*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette