* ldlang.c (offsetof): Define if not defined.
This commit is contained in:
parent
e4c79bb232
commit
7abb6dea2c
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||||
|
|
||||||
|
* ldlang.c (offsetof): Define if not defined.
|
||||||
|
|
||||||
2002-08-14 H.J. Lu <hjl@gnu.org>
|
2002-08-14 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* configure.tgt: Always enable 64bit emulations for 32bit
|
* configure.tgt: Always enable 64bit emulations for 32bit
|
||||||
|
|
|
@ -40,6 +40,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||||
#include "fnmatch.h"
|
#include "fnmatch.h"
|
||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
|
|
||||||
|
#ifndef offsetof
|
||||||
|
#define offsetof(TYPE,MEMBER) ((size_t)&(((TYPE*)0)->MEMBER))
|
||||||
|
#endif
|
||||||
|
|
||||||
/* FORWARDS */
|
/* FORWARDS */
|
||||||
static lang_statement_union_type *new_statement
|
static lang_statement_union_type *new_statement
|
||||||
PARAMS ((enum statement_enum, size_t, lang_statement_list_type *));
|
PARAMS ((enum statement_enum, size_t, lang_statement_list_type *));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue