VirtualBox

Ignore:
Timestamp:
Jul 3, 2009 1:44:51 PM (15 years ago)
Author:
vboxsync
Message:

VBoxGuestR3Lib.cpp: Fix the XFREE86 build mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp

    r21199 r21200  
    381381
    382382#elif defined(RT_OS_LINUX)
     383# ifdef VBOX_VBGLR3_XFREE86
     384    int rc = xf86ioctl((int)g_File, iFunction, pvData);
     385# else
    383386    int rc = ioctl((int)g_File, iFunction, pvData);
     387# endif
    384388    if (RT_LIKELY(rc == 0))
    385389        return VINF_SUCCESS;
     
    389393        rc = -rc;
    390394    else
     395# ifdef VBOX_VBGLR3_XFREE86
     396        rc = VERR_FILE_IO_ERROR;
     397#  else
    391398        rc = RTErrConvertFromErrno(errno);
     399# endif
    392400    NOREF(cbData);
    393401    return rc;
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