Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
0d2a8db6
Commit
0d2a8db6
authored
Nov 22, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added #define for WSAPoll
parent
e791a795
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
internal.h
build/src/internal.h
+3
-1
mongoose.c
mongoose.c
+3
-1
No files found.
build/src/internal.h
View file @
0d2a8db6
...
@@ -187,13 +187,15 @@ typedef struct DIR {
...
@@ -187,13 +187,15 @@ typedef struct DIR {
struct
dirent
result
;
struct
dirent
result
;
}
DIR
;
}
DIR
;
#ifndef HAVE_POLL
struct
pollfd
{
struct
pollfd
{
SOCKET
fd
;
SOCKET
fd
;
short
events
;
short
events
;
short
revents
;
short
revents
;
};
};
#define POLLIN 1
#define POLLIN 1
#ifdef HAVE_POLL
#define poll(x, y, z) WSAPoll((x), (y), (z))
#endif
#endif
...
...
mongoose.c
View file @
0d2a8db6
...
@@ -187,13 +187,15 @@ typedef struct DIR {
...
@@ -187,13 +187,15 @@ typedef struct DIR {
struct
dirent
result
;
struct
dirent
result
;
}
DIR
;
}
DIR
;
#ifndef HAVE_POLL
struct
pollfd
{
struct
pollfd
{
SOCKET
fd
;
SOCKET
fd
;
short
events
;
short
events
;
short
revents
;
short
revents
;
};
};
#define POLLIN 1
#define POLLIN 1
#ifdef HAVE_POLL
#define poll(x, y, z) WSAPoll((x), (y), (z))
#endif
#endif
...
...
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