root/src/libs/compat/freebsd_network/compat/sys/_types.h
/*
 * Copyright 2007 Haiku Inc. All rights reserved.
 * Distributed under the terms of the MIT License.
 */
#ifndef _FBSD_COMPAT_SYS__TYPES_H_
#define _FBSD_COMPAT_SYS__TYPES_H_


#ifdef __GNUCLIKE_BUILTIN_VARARGS
typedef __builtin_va_list       __va_list;      /* internally known to gcc */
#else
typedef char *                  __va_list;
#endif /* __GNUCLIKE_BUILTIN_VARARGS */
#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \
    && !defined(__NO_GNUC_VA_LIST)
#define __GNUC_VA_LIST
typedef __va_list               __gnuc_va_list; /* compatibility w/GNU headers*/
#endif

#endif /* _FBSD_COMPAT_SYS__TYPES_H_ */