diff options
author | 2002-02-19 22:12:36 +0000 | |
---|---|---|
committer | 2002-02-19 22:12:36 +0000 | |
commit | 5fb677a131eb830ddd801a061d616862b0a9cbc6 (patch) | |
tree | f60eec010292bd9fe2e559bc8fedf2d3b59e96a6 /lib/libc/arch/sparc | |
parent | Provide PAGE_{MASK,SHIFT,SIZE} ``constants'' for every cpu combination. (diff) | |
download | wireguard-openbsd-5fb677a131eb830ddd801a061d616862b0a9cbc6.tar.xz wireguard-openbsd-5fb677a131eb830ddd801a061d616862b0a9cbc6.zip |
We need to keep K&R compat macros for some ports where the assemnbler is
still using -traditional-cpp.
Diffstat (limited to 'lib/libc/arch/sparc')
-rw-r--r-- | lib/libc/arch/sparc/SYS.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/arch/sparc/SYS.h b/lib/libc/arch/sparc/SYS.h index 8970b18317e..e8cb5290e09 100644 --- a/lib/libc/arch/sparc/SYS.h +++ b/lib/libc/arch/sparc/SYS.h @@ -34,15 +34,20 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: SYS.h,v 1.10 2002/02/19 19:39:36 millert Exp $ + * $OpenBSD: SYS.h,v 1.11 2002/02/19 22:12:37 millert Exp $ */ #include <machine/asm.h> #include <sys/syscall.h> #include <machine/trap.h> +#ifdef __STDC__ #define _CAT(x,y) x##y #define __ENTRY(p,x) ENTRY(p##x) +#else +#define _CAT(x,y) x/**/y +#define __ENTRY(p,x) ENTRY(p/**/x) +#endif /* * ERROR branches to cerror. This is done with a macro so that I can |