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
3215c3ac
Commit
3215c3ac
authored
Jan 04, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid DECLSPEC_NORETURN on function pointers for MSVC compatibility.
parent
3d2de3d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
pthread.h
include/wine/pthread.h
+7
-11
No files found.
include/wine/pthread.h
View file @
3215c3ac
...
...
@@ -71,15 +71,6 @@ struct wine_pthread_callbacks
#endif
/* HAVE_PTHREAD_H */
/* we don't want to include winnt.h here */
#ifndef DECLSPEC_NORETURN
# ifdef __GNUC__
# define DECLSPEC_NORETURN __attribute__((noreturn))
# else
# define DECLSPEC_NORETURN
# endif
#endif
/* thread information used to creating and exiting threads */
struct
wine_pthread_thread_info
{
...
...
@@ -101,8 +92,13 @@ struct wine_pthread_functions
int
(
*
create_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
init_current_teb
)(
struct
wine_pthread_thread_info
*
info
);
void
*
(
*
get_current_teb
)(
void
);
void
(
*
DECLSPEC_NORETURN
exit_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
DECLSPEC_NORETURN
abort_thread
)(
long
status
);
#ifdef __GNUC__
void
(
*
__attribute__
((
noreturn
))
exit_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
__attribute__
((
noreturn
))
abort_thread
)(
long
status
);
#else
void
(
*
exit_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
abort_thread
)(
long
status
);
#endif
};
extern
void
wine_pthread_get_functions
(
struct
wine_pthread_functions
*
functions
,
size_t
size
);
...
...
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