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
c6606c71
Commit
c6606c71
authored
Nov 25, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed symbian-specific #defines. Nokia and Symbian got killed by Microsoft.
parent
de3d4e30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
16 deletions
+4
-16
internal.h
build/src/internal.h
+2
-8
mongoose.c
mongoose.c
+2
-8
No files found.
build/src/internal.h
View file @
c6606c71
...
@@ -45,12 +45,6 @@
...
@@ -45,12 +45,6 @@
#undef WIN32_LEAN_AND_MEAN
#undef WIN32_LEAN_AND_MEAN
#endif
#endif
#if defined(__SYMBIAN32__)
#define NO_SSL // SSL is not supported
#define NO_CGI // CGI is not supported
#define PATH_MAX FILENAME_MAX
#endif // __SYMBIAN32__
#ifndef _WIN32_WCE // Some ANSI #includes are not available on Windows CE
#ifndef _WIN32_WCE // Some ANSI #includes are not available on Windows CE
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -69,7 +63,7 @@
...
@@ -69,7 +63,7 @@
#include <stddef.h>
#include <stddef.h>
#include <stdio.h>
#include <stdio.h>
#if defined(_WIN32)
&& !defined(__SYMBIAN32__)
// Windows specific
#if defined(_WIN32) // Windows specific
#undef _WIN32_WINNT
#undef _WIN32_WINNT
#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>
...
@@ -250,7 +244,7 @@ typedef int SOCKET;
...
@@ -250,7 +244,7 @@ typedef int SOCKET;
#include "mongoose.h"
#include "mongoose.h"
#define MONGOOSE_VERSION "
4.2
"
#define MONGOOSE_VERSION "
5.0
"
#define PASSWORDS_FILE_NAME ".htpasswd"
#define PASSWORDS_FILE_NAME ".htpasswd"
#define CGI_ENVIRONMENT_SIZE 4096
#define CGI_ENVIRONMENT_SIZE 4096
#define MAX_CGI_ENVIR_VARS 64
#define MAX_CGI_ENVIR_VARS 64
...
...
mongoose.c
View file @
c6606c71
...
@@ -45,12 +45,6 @@
...
@@ -45,12 +45,6 @@
#undef WIN32_LEAN_AND_MEAN
#undef WIN32_LEAN_AND_MEAN
#endif
#endif
#if defined(__SYMBIAN32__)
#define NO_SSL // SSL is not supported
#define NO_CGI // CGI is not supported
#define PATH_MAX FILENAME_MAX
#endif // __SYMBIAN32__
#ifndef _WIN32_WCE // Some ANSI #includes are not available on Windows CE
#ifndef _WIN32_WCE // Some ANSI #includes are not available on Windows CE
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -69,7 +63,7 @@
...
@@ -69,7 +63,7 @@
#include <stddef.h>
#include <stddef.h>
#include <stdio.h>
#include <stdio.h>
#if defined(_WIN32)
&& !defined(__SYMBIAN32__)
// Windows specific
#if defined(_WIN32) // Windows specific
#undef _WIN32_WINNT
#undef _WIN32_WINNT
#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>
...
@@ -250,7 +244,7 @@ typedef int SOCKET;
...
@@ -250,7 +244,7 @@ typedef int SOCKET;
#include "mongoose.h"
#include "mongoose.h"
#define MONGOOSE_VERSION "
4.2
"
#define MONGOOSE_VERSION "
5.0
"
#define PASSWORDS_FILE_NAME ".htpasswd"
#define PASSWORDS_FILE_NAME ".htpasswd"
#define CGI_ENVIRONMENT_SIZE 4096
#define CGI_ENVIRONMENT_SIZE 4096
#define MAX_CGI_ENVIR_VARS 64
#define MAX_CGI_ENVIR_VARS 64
...
...
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