Home | History | Annotate | Download | only in include
      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 
     13 typedef unsigned char	u_char;
     14 typedef unsigned short	u_short;
     15 typedef unsigned int	u_int;
     16 #pragma push_macro("u_long")
     17 #undef u_long
     18 typedef unsigned long u_long;
     19 #pragma pop_macro("u_long")
     20 
     21 #if defined(__GNUC__) || \
     22     defined(__GNUG__)
     23 __extension__
     24 #endif /* gcc / g++ */
     25 typedef unsigned long long u_int64;
     26 
     27 #endif /* _BSDTYPES_DEFINED */
     28 
     29 #if defined (__LP64__) && defined (u_long)
     30 typedef unsigned __LONG32 u_long;
     31 #endif
     32 
     33