#ifdef __STDC__ -> #if __STDC__
This commit is contained in:
parent
d7018d707f
commit
755f5b32a4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cdefs.h,v 1.36 2000/05/27 12:22:24 kleink Exp $ */
|
||||
/* $NetBSD: cdefs.h,v 1.37 2000/08/07 16:35:33 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -86,7 +86,7 @@
|
||||
#define ___STRING(x) __STRING(x)
|
||||
#define ___CONCAT(x,y) __CONCAT(x,y)
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
#if __STDC__ || defined(__cplusplus)
|
||||
#define __P(protos) protos /* full-blown ANSI C */
|
||||
#define __CONCAT(x,y) x ## y
|
||||
#define __STRING(x) #x
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cdefs_aout.h,v 1.4 1999/12/13 08:25:16 itohy Exp $ */
|
||||
/* $NetBSD: cdefs_aout.h,v 1.5 2000/08/07 16:35:34 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#define _C_LABEL(x) __CONCAT(_,x)
|
||||
|
||||
#ifdef __STDC__
|
||||
#if __STDC__
|
||||
#define ___RENAME(x) __asm__(___STRING(_C_LABEL(x)))
|
||||
#else
|
||||
#define ___RENAME(x) ____RENAME(_/**/x)
|
||||
@ -18,7 +18,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef __STDC__
|
||||
#if __STDC__
|
||||
#define __indr_reference(sym,alias) \
|
||||
__asm__(".stabs \"_" #alias "\",11,0,0,0"); \
|
||||
__asm__(".stabs \"_" #sym "\",1,0,0,0");
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cdefs_elf.h,v 1.7 1999/12/13 08:25:16 itohy Exp $ */
|
||||
/* $NetBSD: cdefs_elf.h,v 1.8 2000/08/07 16:35:34 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
@ -36,7 +36,7 @@
|
||||
#define _C_LABEL(x) x
|
||||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
#if __STDC__
|
||||
#define ___RENAME(x) __asm__(___STRING(_C_LABEL(x)))
|
||||
#else
|
||||
#if defined(__sh3__)
|
||||
@ -53,7 +53,7 @@
|
||||
#define __indr_reference(sym,alias) /* nada, since we do weak refs */
|
||||
#endif /* !__DO_NOT_DO_WEAK__ */
|
||||
|
||||
#ifdef __STDC__
|
||||
#if __STDC__
|
||||
|
||||
#ifndef __DO_NOT_DO_WEAK__
|
||||
#define __weak_alias(alias,sym) \
|
||||
@ -77,7 +77,7 @@
|
||||
|
||||
#endif /* !__STDC__ */
|
||||
|
||||
#ifdef __STDC__
|
||||
#if __STDC__
|
||||
#define __SECTIONSTRING(_sec, _str) \
|
||||
__asm__(".section " #_sec " ; .asciz \"" _str "\" ; .text")
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user