1/* 2 * Copyright 2007 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _FBSD_COMPAT_SYS__TYPES_H_ 6#define _FBSD_COMPAT_SYS__TYPES_H_ 7 8 9#ifdef __GNUCLIKE_BUILTIN_VARARGS 10typedef __builtin_va_list __va_list; /* internally known to gcc */ 11#else 12typedef char * __va_list; 13#endif /* __GNUCLIKE_BUILTIN_VARARGS */ 14#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \ 15 && !defined(__NO_GNUC_VA_LIST) 16#define __GNUC_VA_LIST 17typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/ 18#endif 19 20#endif /* _FBSD_COMPAT_SYS__TYPES_H_ */ 21