VirtualBox

Changeset 75140 in vbox for trunk/include


Ignore:
Timestamp:
Oct 29, 2018 11:23:06 AM (6 years ago)
Author:
vboxsync
Message:

iprt/symvers.h, Config.kmk: build binary-compatible Additions on glibc 2.18.
bugref:9112: Linux Additions: fix building binaries for older Linux user space
Prevent linking against fcntl64 symbol, and do not include symvers.h with
XFree86 modules, which should not use glibc anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/linux/symvers.h

    r75013 r75140  
    6060#undef __GLIBC_MINOR__
    6161#define __GLIBC_MINOR__ 3
     62
     63/* Do not use fcntl64 */
     64#include <fcntl.h>
     65#ifdef fnctl
     66# undef fcntl
     67#endif
     68#if defined(RT_ARCH_AMD64)
     69__asm__(".symver fcntl64,fcntl@GLIBC_2.2.5");
     70#else
     71__asm__(".symver fcntl64,fcntl@GLIBC_2.0");
     72#endif
     73
    6274#endif /* ___iprt_linux_symvers_h */
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