Deleted Added
full compact
sysdep.h (78828) sysdep.h (89857)
1/* sysdep.h -- handle host dependencies for the BFD library
2 Copyright 1995, 1996, 1997, 1998, 1999, 2000
3 Free Software Foundation, Inc.
4 Written by Cygnus Support.
5
6This file is part of BFD, the Binary File Descriptor library.
7
8This program is free software; you can redistribute it and/or modify

--- 111 unchanged lines hidden (view full) ---

120#ifdef NEED_DECLARATION_FREE
121extern void free ();
122#endif
123
124#ifdef NEED_DECLARATION_GETENV
125extern char *getenv ();
126#endif
127
1/* sysdep.h -- handle host dependencies for the BFD library
2 Copyright 1995, 1996, 1997, 1998, 1999, 2000
3 Free Software Foundation, Inc.
4 Written by Cygnus Support.
5
6This file is part of BFD, the Binary File Descriptor library.
7
8This program is free software; you can redistribute it and/or modify

--- 111 unchanged lines hidden (view full) ---

120#ifdef NEED_DECLARATION_FREE
121extern void free ();
122#endif
123
124#ifdef NEED_DECLARATION_GETENV
125extern char *getenv ();
126#endif
127
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
128#ifdef ENABLE_NLS
129#include <libintl.h>
130/* Note the use of dgetext() and PACKAGE here, rather than gettext().
131
132 This is because the code in this directory is used to build a library which
133 will be linked with code in other directories to form programs. We want to
134 maintain a seperate translation file for this directory however, rather
135 than being forced to merge it with that of any program linked to libbfd.

--- 23 unchanged lines hidden ---
134#ifdef ENABLE_NLS
135#include <libintl.h>
136/* Note the use of dgetext() and PACKAGE here, rather than gettext().
137
138 This is because the code in this directory is used to build a library which
139 will be linked with code in other directories to form programs. We want to
140 maintain a seperate translation file for this directory however, rather
141 than being forced to merge it with that of any program linked to libbfd.

--- 23 unchanged lines hidden ---