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
b1df392f
Commit
b1df392f
authored
Oct 21, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the WINE_NO_STRICT #ifdefs to do the right thing if STRICT is
defined (spotted by Michael Stefaniuc).
parent
c14e9ebc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
server_protocol.h
include/wine/server_protocol.h
+4
-4
winnt.h
include/winnt.h
+2
-2
protocol.def
server/protocol.def
+4
-4
No files found.
include/wine/server_protocol.h
View file @
b1df392f
...
...
@@ -32,12 +32,12 @@ struct request_max_size
int
pad
[
16
];
};
#if defined(STRICT) || (defined(__WINE__) && !defined(WINE_NO_STRICT))
typedef
void
*
obj_handle_t
;
typedef
void
*
user_handle_t
;
#else
#ifdef WINE_NO_STRICT
typedef
int
obj_handle_t
;
typedef
unsigned
int
user_handle_t
;
#else
typedef
void
*
obj_handle_t
;
typedef
void
*
user_handle_t
;
#endif
typedef
unsigned
short
atom_t
;
...
...
include/winnt.h
View file @
b1df392f
...
...
@@ -561,14 +561,14 @@ typedef DWORD EXECUTION_STATE;
* we're ready we'll remove the '!defined(__WINE__)' (the equivalent
* of converting it from DECLARE_OLD_HANDLE to DECLARE_HANDLE).
*/
#if
defined(__WINE__) && defined(WINE_NO_STRICT)
#if
def WINE_NO_STRICT
typedef
UINT
HANDLE
;
#else
typedef
void
*
HANDLE
;
#endif
typedef
HANDLE
*
PHANDLE
,
*
LPHANDLE
;
#if
defined(STRICT) || (defined(__WINE__) && !defined(WINE_NO_STRICT)
)
#if
(defined(STRICT) || defined(__WINE__)) && !defined(WINE_NO_STRICT
)
#define DECLARE_HANDLE(a) \
typedef struct a##__ { int unused; } *a; \
typedef a *P##a
...
...
server/protocol.def
View file @
b1df392f
...
...
@@ -48,12 +48,12 @@ struct request_max_size
int pad[16]; /* the max request size is 16 ints */
};
#if defined(STRICT) || (defined(__WINE__) && !defined(WINE_NO_STRICT))
typedef void *obj_handle_t;
typedef void *user_handle_t;
#else
#ifdef WINE_NO_STRICT
typedef int obj_handle_t;
typedef unsigned int user_handle_t;
#else
typedef void *obj_handle_t;
typedef void *user_handle_t;
#endif
typedef unsigned short atom_t;
...
...
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