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
3770020b
Commit
3770020b
authored
Oct 14, 2012
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove winsock include - windows.h does that for us
parent
9f9a1638
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mongoose.c
mongoose.c
+3
-3
No files found.
mongoose.c
View file @
3770020b
...
@@ -29,8 +29,10 @@
...
@@ -29,8 +29,10 @@
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
#endif
#endif
// Disable WIN32_LEAN_AND_MEAN.
// This makes windows.h always include winsock2.h
#ifdef WIN32_LEAN_AND_MEAN
#ifdef WIN32_LEAN_AND_MEAN
#undef WIN32_LEAN_AND_MEAN
// Disable WIN32_LEAN_AND_MEAN, if necessary
#undef WIN32_LEAN_AND_MEAN
#endif
#endif
#if defined(__SYMBIAN32__)
#if defined(__SYMBIAN32__)
...
@@ -59,9 +61,7 @@
...
@@ -59,9 +61,7 @@
#if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific
#if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific
#define _WIN32_WINNT 0x0400 // To make it link in VS2005
#define _WIN32_WINNT 0x0400 // To make it link in VS2005
#include <winsock2.h>
#include <windows.h>
#include <windows.h>
#include <ws2tcpip.h>
#ifndef PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#define PATH_MAX MAX_PATH
...
...
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