Commit ca788bbc authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

include: Open Watcom compatibility (Fix _BSDTYPES_DEFINED typo).

parent c84c4784
......@@ -52,12 +52,12 @@ typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _BSD_TYPES_DEFINED
#ifndef _BSDTYPES_DEFINED
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#define _BSD_TYPES_DEFINED
#define _BSDTYPES_DEFINED
#endif
#define dev_t _dev_t
......
......@@ -110,12 +110,13 @@
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
#if (defined(_MSC_VER) || defined(__MINGW_H)) && !defined(_BSD_TYPES_DEFINED)
#if (defined(_MSC_VER) || defined(__MINGW_H) || defined(__WATCOMC__)) && !defined(_BSDTYPES_DEFINED)
/* MinGW doesn't define the u_xxx types */
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#define _BSDTYPES_DEFINED
#endif
#ifdef USE_WS_PREFIX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment