minix/sys/arch/i386/include/cdefs.h
Lionel Sambuc f14fb60209 Libraries updates and cleanup
* Updating common/lib
 * Updating lib/csu
 * Updating lib/libc
 * Updating libexec/ld.elf_so
 * Corrected test on __minix in featuretest to actually follow the
   meaning of the comment.
 * Cleaned up _REENTRANT-related defintions.
 * Disabled -D_REENTRANT for libfetch
 * Removing some unneeded __NBSD_LIBC defines and tests

Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
2013-01-14 11:36:26 +01:00

18 lines
368 B
C

/* $NetBSD: cdefs.h,v 1.9 2012/01/20 14:08:06 joerg Exp $ */
#ifndef _I386_CDEFS_H_
#define _I386_CDEFS_H_
#if defined(_STANDALONE)
#define __compactcall __attribute__((__regparm__(3)))
#endif
#define __ALIGNBYTES (sizeof(int) - 1)
#if defined(__minix)
#ifndef __ELF__
#define __LEADING_UNDERSCORE
#endif
#endif /* defined(__minix) */
#endif /* !_I386_CDEFS_H_ */