Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
15f0ac35
Commit
15f0ac35
authored
Apr 04, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yet another hack to try to make this file compile in all
circumstances.
parent
961afa2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
winsock.h
include/winsock.h
+17
-16
No files found.
include/winsock.h
View file @
15f0ac35
...
...
@@ -26,22 +26,8 @@
# endif
#endif
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
/*
* Setup phase
*/
#ifdef USE_WS_PREFIX
# define WS(x) WS_##x
#else
# define WS(x) x
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
#ifndef __WINE_WINSOCKAPI_STDLIB_H
#define __WINE_WINSOCKAPI_STDLIB_H
/*
* This section defines the items that conflict with the Unix headers.
...
...
@@ -110,12 +96,17 @@ extern "C" {
# include <stdlib.h>
#endif
/* !USE_WS_PREFIX */
#endif
/* __WINE_WINSOCKAPI_STDLIB_H */
#ifndef __WINESRC__
# include "windows.h"
#else
# include "windef.h"
#endif
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
#if defined(__MINGW_H) && !defined(MSVCRT_BSD_TYPES_DEFINED)
/* MinGW doesn't define the u_xxx types */
typedef
unsigned
char
u_char
;
...
...
@@ -124,6 +115,16 @@ typedef unsigned int u_int;
typedef
unsigned
long
u_long
;
#endif
#ifdef USE_WS_PREFIX
# define WS(x) WS_##x
#else
# define WS(x) x
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
/* proper 4-byte packing */
#include "pshpack4.h"
...
...
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