Ignore:
Timestamp:
Aug 31, 2007, 4:16:27 AM (18 years ago)
Author:
bird
Message:

Dropped kLdrBase.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/include/k/kLdrFmts/mach-o.h

    r3568 r3569  
    865865typedef struct scattered_relocation_info
    866866{
    867 #ifdef KLDR_LITTLE_ENDIAN
     867#if K_ENDIAN == K_ENDIAN_LITTLE
    868868    KU32        r_address : 24,     /**< Section relative address of the fixup. (macho_relocation_info_t::r_address) */
    869869                r_type : 4,         /**< Relocation type; 0 is standard, non-zero are machine specific. (macho_relocation_info_t::r_type) */
     
    871871                r_pcrel : 1,        /**< PC (program counter) relative fixup; subtract the fixup address. (macho_relocation_info_t::r_pcrel) */
    872872                r_scattered : 1;    /**< Set if scattered relocation, clear if normal relocation. */
    873 #elif defined(KLDR_BIG_ENDIAN)
     873#elif K_ENDIAN == K_ENDIAN_BIG
    874874    KU32        r_scattered : 1,    /**< Set if scattered relocation, clear if normal relocation. */
    875875                r_pcrel : 1,        /**< PC (program counter) relative fixup; subtract the fixup address. (macho_relocation_info_t::r_pcrel) */
     
    878878                r_address : 24;     /**< Section relative address of the fixup. (macho_relocation_info_t::r_address) */
    879879#else
    880 # error "Neither KLDR_LITTLE_ENDIAN nor KLDR_BIG_ENDIAN is defined!"
     880# error "Neither K_ENDIAN isn't LITTLE or BIG!"
    881881#endif
    882882    KI32        r_value;            /**< The value the fixup is refering to (without offset added). */
Note: See TracChangeset for help on using the changeset viewer.