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
88d049d1
Commit
88d049d1
authored
Jan 11, 2005
by
Rémi Assailly
Committed by
Alexandre Julliard
Jan 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing declarations in some headers.
parent
68fc5f88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
library.h
include/wine/library.h
+4
-0
port.h
include/wine/port.h
+6
-0
preproc.c
libs/wpp/preproc.c
+1
-0
No files found.
include/wine/library.h
View file @
88d049d1
...
...
@@ -177,15 +177,19 @@ inline static int wine_ldt_is_empty( const LDT_ENTRY *ent )
#ifdef __i386__
# ifdef __GNUC__
# define __DEFINE_GET_SEG(seg) \
extern inline unsigned short wine_get_##seg(void); \
extern inline unsigned short wine_get_##seg(void) \
{ unsigned short res; __asm__("movw %%" #seg ",%w0" : "=r"(res)); return res; }
# define __DEFINE_SET_SEG(seg) \
extern inline void wine_set_##seg(int val); \
extern inline void wine_set_##seg(int val) { __asm__("movw %w0,%%" #seg : : "r" (val)); }
# elif defined(_MSC_VER)
# define __DEFINE_GET_SEG(seg) \
extern inline unsigned short wine_get_##seg(void); \
extern inline unsigned short wine_get_##seg(void) \
{ unsigned short res; __asm { mov res, seg } return res; }
# define __DEFINE_SET_SEG(seg) \
extern inline void wine_set_##seg(unsigned short val); \
extern inline void wine_set_##seg(unsigned short val) { __asm { mov seg, val } }
# else
/* __GNUC__ || _MSC_VER */
# define __DEFINE_GET_SEG(seg) extern unsigned short wine_get_##seg(void);
...
...
include/wine/port.h
View file @
88d049d1
...
...
@@ -381,6 +381,12 @@ extern int spawnvp(int mode, const char *cmdname, const char * const argv[]);
#if defined(__i386__) && defined(__GNUC__)
extern
inline
long
interlocked_cmpxchg
(
long
*
dest
,
long
xchg
,
long
compare
);
extern
inline
void
*
interlocked_cmpxchg_ptr
(
void
**
dest
,
void
*
xchg
,
void
*
compare
);
extern
inline
long
interlocked_xchg
(
long
*
dest
,
long
val
);
extern
inline
void
*
interlocked_xchg_ptr
(
void
**
dest
,
void
*
val
);
extern
inline
long
interlocked_xchg_add
(
long
*
dest
,
long
incr
);
extern
inline
long
interlocked_cmpxchg
(
long
*
dest
,
long
xchg
,
long
compare
)
{
long
ret
;
...
...
libs/wpp/preproc.c
View file @
88d049d1
...
...
@@ -32,6 +32,7 @@
# include <io.h>
#endif
#include "wine/wpp.h"
#include "wpp_private.h"
struct
pp_status
pp_status
;
...
...
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