aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-02-28 19:05:34 +0000
committerStan Shebs <shebs@codesourcery.com>1994-02-28 19:05:34 +0000
commitb897ed67cb670b2fa05db0bd092cd1ab8d855973 (patch)
tree247de789a75767f24dca4739a8d05825a20681fb /ld
parent2882219f5b22b97fa7ff388fbc3f9a23d877d6b2 (diff)
downloadgdb-b897ed67cb670b2fa05db0bd092cd1ab8d855973.zip
gdb-b897ed67cb670b2fa05db0bd092cd1ab8d855973.tar.gz
gdb-b897ed67cb670b2fa05db0bd092cd1ab8d855973.tar.bz2
Mon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com)
* ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e468dea..cade140 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+Mon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com)
+
+ * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined.
+
Sun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* emultempl/hppaelf.em (hppaelf_finish): Update comments. This
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 5e628b8..08ab408 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -154,7 +154,7 @@ boolean delete_output_file_on_failure = false;
etree_type *base; /* Relocation base - or null */
-#ifdef __STDC__
+#if defined(__STDC__) || defined(ALMOST_STDC)
#define cat(a,b) a##b
#else
#define cat(a,b) a/**/b