NetBSD/sys/arch/sh3/include/cdefs.h

17 lines
426 B
C
Raw Normal View History

2002-04-28 21:10:32 +04:00
/* $NetBSD: cdefs.h,v 1.5 2002/04/28 17:10:33 uch Exp $ */
2002-03-17 20:55:22 +03:00
#ifndef _SH3_CDEFS_H_
2002-04-28 21:10:32 +04:00
#define _SH3_CDEFS_H_
/*
* The old NetBSD/sh3 ELF toolchain used underscores. The new
* NetBSD/sh3 ELF toolchain does not. The C pre-processor
* defines __NO_LEADING_UNDERSCORES__ for the new ELF toolchain.
*/
#if defined(__ELF__) && !defined(__NO_LEADING_UNDERSCORES__)
2002-04-28 21:10:32 +04:00
#define __LEADING_UNDERSCORE
#endif
2002-03-17 20:55:22 +03:00
#endif /* !_SH3_CDEFS_H_ */