aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/unix.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-09-30 17:31:44 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-09-30 17:31:44 -0400
commit3520fbfe937a46551e5aa8d69be037c3c1e5e6db (patch)
tree34cd7d504f1e53bf4335f8c7795c860480bf7077 /gcc/config/i386/unix.h
parent48ff801bdafe31d8df087b73156e89ba424c6fc1 (diff)
downloadgcc-3520fbfe937a46551e5aa8d69be037c3c1e5e6db.zip
gcc-3520fbfe937a46551e5aa8d69be037c3c1e5e6db.tar.gz
gcc-3520fbfe937a46551e5aa8d69be037c3c1e5e6db.tar.bz2
Treat ALMOST_STDC like __STDC__.
(AS2C): New macro. From-SVN: r8185
Diffstat (limited to 'gcc/config/i386/unix.h')
-rw-r--r--gcc/config/i386/unix.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h
index 7209176..fb7320b 100644
--- a/gcc/config/i386/unix.h
+++ b/gcc/config/i386/unix.h
@@ -1,5 +1,5 @@
/* Definitions for Unix assembler syntax for the Intel 80386.
- Copyright (C) 1988 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1994 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -28,13 +28,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Note that the other files fail to use these
in some of the places where they should. */
-#ifdef __STDC__
+#if defined(__STDC__) || defined(ALMOST_STDC)
#define AS2(a,b,c) #a " " #b "," #c
+#define AS2C(b,c) " " #b "," #c
#define AS3(a,b,c,d) #a " " #b "," #c "," #d
#define AS1(a,b) #a " " #b
#else
#define AS1(a,b) "a b"
#define AS2(a,b,c) "a b,c"
+#define AS2C(b,c) " b,c"
#define AS3(a,b,c,d) "a b,c,d"
#endif