VirtualBox

Changeset 32119 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Aug 31, 2010 9:52:33 AM (14 years ago)
Author:
vboxsync
Message:

ldrElf.h: Test on ARCH_BITS instead of RT_ARCH_XXX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/ldrElf.h

    r32048 r32119  
    2929#define ___internal_ldrELF_h
    3030
    31 #if defined(RT_ARCH_AMD64)
     31#if ARCH_BITS == 64
    3232# include "ldrELF64.h"
    3333typedef Elf64_Addr          Elf_Addr;
     
    5454#define ELF_ST_INFO         ELF64_ST_INFO
    5555
    56 #elif defined(RT_ARCH_X86)
     56#elif ARCH_BITS == 32
    5757# include "ldrELF32.h"
    5858typedef Elf32_Addr          Elf_Addr;
     
    8080
    8181#else
    82 # error Unknown arch!
     82# error Unsupported ARCH_BITS value.
    8383#endif
    8484
    85 #endif  /* ___internal_ldrELF_h */
     85#endif /* !___internal_ldrELF_h */
    8686
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