diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 23:35:56 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 23:35:56 +0000 |
commit | 5a0517735a47db1eea68bad63ae6930fef766faa (patch) | |
tree | 97e145c019aa19a6f50cdbb8f02efc069db3116b /gas/hex-value.c | |
parent | 5efb389945c45886ceddd830387b1a26b5ecdf24 (diff) | |
download | gdb-5a0517735a47db1eea68bad63ae6930fef766faa.zip gdb-5a0517735a47db1eea68bad63ae6930fef766faa.tar.gz gdb-5a0517735a47db1eea68bad63ae6930fef766faa.tar.bz2 |
Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
* config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
* app.c, flonum.h, hex-value.c (const): Change #if to be more
portable.
Diffstat (limited to 'gas/hex-value.c')
-rw-r--r-- | gas/hex-value.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/hex-value.c b/gas/hex-value.c index 30a1fc5..a808377 100644 --- a/gas/hex-value.c +++ b/gas/hex-value.c @@ -1,5 +1,5 @@ /* hex_value.c - char=>radix-value - - Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1987, 1990, 1991, 1992, 1994 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -25,9 +25,12 @@ #define __ (42) /* blatently illegal digit value */ /* exceeds any normal radix */ -#if (__STDC__ != 1) && !defined(const) -#define const /* empty */ +#if (__STDC__ != 1) +#ifndef const +#define const /* empty */ #endif +#endif + const char hex_value[256] = { /* for fast ASCII -> binary */ |