VirtualBox

Ticket #9227: fbsd_version.diff

File fbsd_version.diff, 938 bytes (added by Robert Millan, 13 years ago)
  • src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c

     
    284284 * @param   pDev    The device node.
    285285 * @param   fOpen   The open flags.
    286286 * @param   pTd     The thread.
    287  * @param   pFd     The file descriptor. FreeBSD 7.0 and later.
    288  * @param   iFd     The file descriptor index(?). Pre FreeBSD 7.0.
     287 * @param   pFd     The file descriptor. Introduced in FreeBSD 7.0-CURRENT.
     288 * @param   iFd     The file descriptor index. Pre FreeBSD 7.0.
    289289 */
    290 #if __FreeBSD__ >= 7
     290#if __FreeBSD_version >= 700044
    291291static int VBoxDrvFreeBSDOpen(struct cdev *pDev, int fOpen, struct thread *pTd, struct file *pFd)
    292292#else
    293293static int VBoxDrvFreeBSDOpen(struct cdev *pDev, int fOpen, struct thread *pTd, int iFd)

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