VirtualBox

Ignore:
Timestamp:
Mar 9, 2011 7:31:43 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux: fix for older kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c

    r36242 r36244  
    141141int rtThreadNativeCreate(PRTTHREADINT pThreadInt, PRTNATIVETHREAD pNativeThread)
    142142{
     143#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 4)
    143144    struct task_struct *NativeThread;
    144145
     
    152153    *pNativeThread = (RTNATIVETHREAD)NativeThread;
    153154    return VINF_SUCCESS;
     155#else
     156    return VERR_NOT_IMPLEMENTED;
     157#endif
    154158}
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