Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/sysdep.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    126126#endif
    127127
     128/* Define offsetof for those systems which lack it */
     129
     130#ifndef offsetof
     131#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
     132#endif
     133
    128134#ifdef ENABLE_NLS
    129135#include <libintl.h>
Note: See TracChangeset for help on using the changeset viewer.