-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
José Fonseca
committed
Nov 25, 2003
1 parent
be18db2
commit 758e370
Showing
19 changed files
with
3,048 additions
and
2,663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* bucomm.h -- binutils common include file. | ||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | ||
2002 Free Software Foundation, Inc. | ||
This file is part of GNU Binutils. | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | ||
|
||
#ifndef _BUCOMM_H | ||
#define _BUCOMM_H | ||
|
||
#include "ansidecl.h" | ||
#include <stdio.h> | ||
#include <sys/types.h> | ||
|
||
#include "config.h" | ||
|
||
#include <stdarg.h> | ||
|
||
#include <errno.h> | ||
|
||
#ifdef HAVE_UNISTD_H | ||
#include <unistd.h> | ||
#endif | ||
|
||
#ifdef HAVE_STRING_H | ||
#include <string.h> | ||
#endif | ||
|
||
#ifdef HAVE_STDLIB_H | ||
#include <stdlib.h> | ||
#endif | ||
|
||
#ifdef HAVE_FCNTL_H | ||
#include <fcntl.h> | ||
#else | ||
#ifdef HAVE_SYS_FILE_H | ||
#include <sys/file.h> | ||
#endif | ||
#endif | ||
|
||
#if defined(__GNUC__) && !defined(C_ALLOCA) | ||
# undef alloca | ||
# define alloca __builtin_alloca | ||
#else | ||
# if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA) | ||
# include <alloca.h> | ||
# else | ||
# ifndef alloca /* predefined by HP cc +Olibcalls */ | ||
# if !defined (__STDC__) && !defined (__hpux) | ||
char *alloca (); | ||
# else | ||
void *alloca (); | ||
# endif /* __STDC__, __hpux */ | ||
# endif /* alloca */ | ||
# endif /* HAVE_ALLOCA_H */ | ||
#endif | ||
|
||
#ifdef HAVE_LOCALE_H | ||
# include <locale.h> | ||
#endif | ||
|
||
#ifdef ENABLE_NLS | ||
# include <libintl.h> | ||
# define _(String) gettext (String) | ||
# ifdef gettext_noop | ||
# define N_(String) gettext_noop (String) | ||
# else | ||
# define N_(String) (String) | ||
# endif | ||
#else | ||
# define gettext(Msgid) (Msgid) | ||
# define dgettext(Domainname, Msgid) (Msgid) | ||
# define dcgettext(Domainname, Msgid, Category) (Msgid) | ||
# define textdomain(Domainname) while (0) /* nothing */ | ||
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ | ||
# define _(String) (String) | ||
# define N_(String) (String) | ||
#endif | ||
|
||
#define non_fatal(fmt, args...) fprintf(stderr, fmt, ## args) | ||
|
||
#endif /* _BUCOMM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.