1/** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 7#ifndef _BSDTYPES_DEFINED 8#define _BSDTYPES_DEFINED 9 10/* Make sure __LONG32 is defined. */ 11#include <_mingw.h> 12 13typedef unsigned char u_char; 14typedef unsigned short u_short; 15typedef unsigned int u_int; 16#pragma push_macro("u_long") 17#undef u_long 18typedef unsigned long u_long; 19#pragma pop_macro("u_long") 20 21#if defined(__GNUC__) || \ 22 defined(__GNUG__) 23__extension__ 24#endif /* gcc / g++ */ 25typedef unsigned long long u_int64; 26 27#endif /* _BSDTYPES_DEFINED */ 28 29#if defined (__LP64__) && defined (u_long) 30typedef unsigned __LONG32 u_long; 31#endif 32 33