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
518b3aa7
Commit
518b3aa7
authored
Sep 14, 2012
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12 from nigels-com/master
Touch-ups for Regal build of mongoose
parents
07f3554d
fafc9c6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
mongoose.c
mongoose.c
+9
-0
No files found.
mongoose.c
View file @
518b3aa7
...
@@ -27,6 +27,10 @@
...
@@ -27,6 +27,10 @@
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
#endif
#endif
#ifdef WIN32_LEAN_AND_MEAN
#undef WIN32_LEAN_AND_MEAN // Disable WIN32_LEAN_AND_MEAN, if necessary
#endif
#if defined(__SYMBIAN32__)
#if defined(__SYMBIAN32__)
#define NO_SSL // SSL is not supported
#define NO_SSL // SSL is not supported
#define NO_CGI // CGI is not supported
#define NO_CGI // CGI is not supported
...
@@ -231,6 +235,10 @@ static pthread_t pthread_self(void) {
...
@@ -231,6 +235,10 @@ static pthread_t pthread_self(void) {
}
}
#endif // _WIN32
#endif // _WIN32
#ifdef DEBUG_TRACE
#undef DEBUG_TRACE
#define DEBUG_TRACE(x)
#else
#if defined(DEBUG)
#if defined(DEBUG)
#define DEBUG_TRACE(x) do { \
#define DEBUG_TRACE(x) do { \
flockfile
(
stdout
);
\
flockfile
(
stdout
);
\
...
@@ -245,6 +253,7 @@ static pthread_t pthread_self(void) {
...
@@ -245,6 +253,7 @@ static pthread_t pthread_self(void) {
#else
#else
#define DEBUG_TRACE(x)
#define DEBUG_TRACE(x)
#endif // DEBUG
#endif // DEBUG
#endif // DEBUG_TRACE
// Darwin prior to 7.0 and Win32 do not have socklen_t
// Darwin prior to 7.0 and Win32 do not have socklen_t
#ifdef NO_SOCKLEN_T
#ifdef NO_SOCKLEN_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