Commit 3520fbfe by Richard Kenner

Treat ALMOST_STDC like __STDC__.

(AS2C): New macro.

From-SVN: r8185
parent 48ff801b
/* Definitions for Unix assembler syntax for the Intel 80386. /* 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. This file is part of GNU CC.
...@@ -28,13 +28,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -28,13 +28,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Note that the other files fail to use these /* Note that the other files fail to use these
in some of the places where they should. */ 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 AS2(a,b,c) #a " " #b "," #c
#define AS2C(b,c) " " #b "," #c
#define AS3(a,b,c,d) #a " " #b "," #c "," #d #define AS3(a,b,c,d) #a " " #b "," #c "," #d
#define AS1(a,b) #a " " #b #define AS1(a,b) #a " " #b
#else #else
#define AS1(a,b) "a b" #define AS1(a,b) "a b"
#define AS2(a,b,c) "a b,c" #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 AS3(a,b,c,d) "a b,c,d"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment