aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-09-25 21:14:46 +0000
committerKen Raeburn <raeburn@cygnus>1992-09-25 21:14:46 +0000
commit4959cb7bf9bafb6b8db32f0013709874ddc85104 (patch)
tree3e1e72221363f5d0794e210ad6950f92848e385e /gas
parentf3b36ecb30e9201c3592ecc00ef0c02736892666 (diff)
downloadgdb-4959cb7bf9bafb6b8db32f0013709874ddc85104.zip
gdb-4959cb7bf9bafb6b8db32f0013709874ddc85104.tar.gz
gdb-4959cb7bf9bafb6b8db32f0013709874ddc85104.tar.bz2
defined(__STDC__) / __STDC__==1 changes recommended by gnu
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/messages.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 98d8b1f..2e099fd 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
+
+ * as.h: Test if __STDC__ is defined only, don't test its value.
+ * messages.c: If __STDC__ is not defined, define NO_STDARG.
+
Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* listing.c (debugging_pseudo): Add stabs and stabn as things to
diff --git a/gas/messages.c b/gas/messages.c
index 0b56527..f292afd 100644
--- a/gas/messages.c
+++ b/gas/messages.c
@@ -22,6 +22,12 @@
#include "as.h"
+#ifndef __STDC__
+#ifndef NO_STDARG
+#define NO_STDARG
+#endif
+#endif
+
#ifndef NO_STDARG
#include <stdarg.h>
#else