Files
netbsd/sys/arch/sh3/include/cdefs.h
2013-04-06 16:48:33 +02:00

19 lines
469 B
C

/* $NetBSD: cdefs.h,v 1.6 2012/01/20 14:08:06 joerg Exp $ */
#ifndef _SH3_CDEFS_H_
#define _SH3_CDEFS_H_
#define __ALIGNBYTES (sizeof(int) - 1)
/*
* 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__)
#define __LEADING_UNDERSCORE
#endif
#endif /* !_SH3_CDEFS_H_ */