Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ca788bbc
Commit
ca788bbc
authored
Sep 20, 2006
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Sep 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Open Watcom compatibility (Fix _BSDTYPES_DEFINED typo).
parent
c84c4784
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
types.h
include/msvcrt/sys/types.h
+2
-2
winsock.h
include/winsock.h
+2
-1
No files found.
include/msvcrt/sys/types.h
View file @
ca788bbc
...
@@ -52,12 +52,12 @@ typedef long time_t;
...
@@ -52,12 +52,12 @@ typedef long time_t;
#define _TIME_T_DEFINED
#define _TIME_T_DEFINED
#endif
#endif
#ifndef _BSD
_
TYPES_DEFINED
#ifndef _BSDTYPES_DEFINED
typedef
unsigned
char
u_char
;
typedef
unsigned
char
u_char
;
typedef
unsigned
short
u_short
;
typedef
unsigned
short
u_short
;
typedef
unsigned
int
u_int
;
typedef
unsigned
int
u_int
;
typedef
unsigned
long
u_long
;
typedef
unsigned
long
u_long
;
#define _BSD
_
TYPES_DEFINED
#define _BSDTYPES_DEFINED
#endif
#endif
#define dev_t _dev_t
#define dev_t _dev_t
...
...
include/winsock.h
View file @
ca788bbc
...
@@ -110,12 +110,13 @@
...
@@ -110,12 +110,13 @@
#ifndef _WINSOCKAPI_
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
#define _WINSOCKAPI_
#if (defined(_MSC_VER) || defined(__MINGW_H)
) && !defined(_BSD_
TYPES_DEFINED)
#if (defined(_MSC_VER) || defined(__MINGW_H)
|| defined(__WATCOMC__)) && !defined(_BSD
TYPES_DEFINED)
/* MinGW doesn't define the u_xxx types */
/* MinGW doesn't define the u_xxx types */
typedef
unsigned
char
u_char
;
typedef
unsigned
char
u_char
;
typedef
unsigned
short
u_short
;
typedef
unsigned
short
u_short
;
typedef
unsigned
int
u_int
;
typedef
unsigned
int
u_int
;
typedef
unsigned
long
u_long
;
typedef
unsigned
long
u_long
;
#define _BSDTYPES_DEFINED
#endif
#endif
#ifdef USE_WS_PREFIX
#ifdef USE_WS_PREFIX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment