VirtualBox

Ignore:
Timestamp:
Sep 10, 2019 9:29:57 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133254
Message:

Additions/linux: ticketref:18917: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/OL 7.7; also Red Hat 8.1 Beta (fix build and remove manifest constant duplication)

Location:
trunk/src/VBox/Runtime/r0drv/linux
Files:
2 edited

Legend:

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

    r80712 r80713  
    3535#include <iprt/errcore.h>
    3636
    37 #ifdef RHEL_RELEASE_CODE
    38 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 1)
    39 #  define RHEL_81
    40 # endif
    41 #endif
    4237
    4338RTR0DECL(int) RTR0MemUserCopyFrom(void *pvDst, RTR3PTR R3PtrSrc, size_t cb)
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r77549 r80713  
    466466RTDECL(struct page *) rtR0MemObjLinuxVirtToPage(void *pv);
    467467
     468/*
     469 * Guest Additions changes specific to Red Hat 8.1 and later.
     470 */
     471#ifdef RHEL_RELEASE_CODE
     472# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 1)
     473#  define RHEL_81
     474# endif
     475#endif
    468476
    469477#endif /* !IPRT_INCLUDED_SRC_r0drv_linux_the_linux_kernel_h */
Note: See TracChangeset for help on using the changeset viewer.

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