Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
1382f204
Commit
1382f204
authored
Jun 01, 2014
by
Jake Kirshner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- bugfix for error: ISO C90 forbids mixed declarations and code in libev header
parent
f315c1eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gevent/libev.h
gevent/libev.h
+4
-2
No files found.
gevent/libev.h
View file @
1382f204
...
...
@@ -16,10 +16,12 @@ static int sigchld_state = 0;
static
struct
ev_loop
*
gevent_ev_default_loop
(
unsigned
int
flags
)
{
if
(
sigchld_state
)
return
ev_default_loop
(
flags
);
struct
ev_loop
*
result
;
struct
sigaction
tmp
;
if
(
sigchld_state
)
return
ev_default_loop
(
flags
);
sigaction
(
SIGCHLD
,
NULL
,
&
tmp
);
result
=
ev_default_loop
(
flags
);
// XXX what if SIGCHLD received there?
...
...
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