VirtualBox

Changeset 19167 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Apr 24, 2009 12:15:18 PM (16 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h,RTLdr: Added an generic RT_NOTHING macro to fixing issues like r46334.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h

    r19128 r19167  
    7575#define Elf_Word            RTLDRELF_MID(Elf,_Word)
    7676
    77 /* gcc-4.4 warning: ''empty macro arguments are undefined in ISO C90 and ISO C++98'' */
    78 #define NO_SUFFIX
    79 #define RTLDRMODELF         RTLDRELF_MID(RTLDRMODELF,NO_SUFFIX)
    80 #define PRTLDRMODELF        RTLDRELF_MID(PRTLDRMODELF,NO_SUFFIX)
    81 #undef NO_SUFFIX
     77#define RTLDRMODELF         RTLDRELF_MID(RTLDRMODELF,RT_NOTHING)
     78#define PRTLDRMODELF        RTLDRELF_MID(PRTLDRMODELF,RT_NOTHING)
    8279
    8380#define ELF_R_SYM(info)     RTLDRELF_MID(ELF,_R_SYM)(info)
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