VirtualBox

Changeset 75009 in vbox for trunk/include/iprt/linux


Ignore:
Timestamp:
Oct 23, 2018 4:30:44 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126046
Message:

iprt/symvers.h: fix for building back-compatible Additions with glibc 2.18.
bugref:9112: Linux Additions: fix building binaries for older Linux user space

File:
1 edited

Legend:

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

    r72087 r75009  
    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.

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