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
bce3a857
Commit
bce3a857
authored
Sep 21, 2012
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#including winsock2 and ws2tcpip headers by default on windows
parent
f741349d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mongoose.c
mongoose.c
+2
-2
No files found.
mongoose.c
View file @
bce3a857
...
@@ -60,6 +60,8 @@
...
@@ -60,6 +60,8 @@
#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 <windows.h>
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#ifndef PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#define PATH_MAX MAX_PATH
...
@@ -70,8 +72,6 @@
...
@@ -70,8 +72,6 @@
#include <direct.h>
#include <direct.h>
#include <io.h>
#include <io.h>
#else // _WIN32_WCE
#else // _WIN32_WCE
#include <winsock2.h>
#include <ws2tcpip.h>
#define NO_CGI // WinCE has no pipes
#define NO_CGI // WinCE has no pipes
typedef
long
off_t
;
typedef
long
off_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