minix/tools/compat/nl_types.h

16 lines
493 B
C
Raw Normal View History

/* $NetBSD: nl_types.h,v 1.1 2002/01/29 10:20:32 tv Exp $ */
#ifdef _NLS_PRIVATE
/* #if defined(__minix) */
/* <sys/cdefs> defines __format_arg, but on some other platforms it doesn't.
* <nl_types.h> includes <sys/cdefs> because it needs __format_arg. As it might
* not be defined, we do it here as a work around. */
#ifndef __format_arg
#define __format_arg(fmtarg) __attribute__((__format_arg__ (fmtarg)))
#endif
/* #endif defined(__minix) */
#include "../../include/nl_types.h"
#endif