Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
26a5954f
Commit
26a5954f
authored
19 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
adding a bunch of comments for each #endif
parent
01165e08
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/setup.h
+16
-16
16 additions, 16 deletions
lib/setup.h
with
16 additions
and
16 deletions
lib/setup.h
+
16
−
16
View file @
26a5954f
...
...
@@ -30,7 +30,7 @@
#define CURL_DISABLE_DICT
#define CURL_DISABLE_FILE
#define CURL_DISABLE_GOPHER
#endif
#endif
/* HTTP_ONLY */
#if !defined(WIN32) && defined(__WIN32__)
/* This should be a good Borland fix. */
...
...
@@ -50,9 +50,9 @@
#ifdef WIN32
/* hand-modified win32 config.h! */
#include
"config-win32.h"
#endif
#endif
#endif
#endif
/* WIN32 */
#endif
/* WIN32_WCE */
#endif
/* HAVE_CONFIG_H */
#ifdef macintosh
/* hand-modified MacOS config.h! */
...
...
@@ -82,7 +82,7 @@ typedef unsigned char bool;
#ifdef _MSC_VER
#define LONG_LONG __int64
#define ENABLE_64BIT
#endif
#endif
/* _MSC_VER */
#endif
/* HAVE_LONGLONG */
#ifndef SIZEOF_CURL_OFF_T
...
...
@@ -97,7 +97,7 @@ typedef unsigned char bool;
#define FORMAT_OFF_T "lld"
#else
#define FORMAT_OFF_T "ld"
#endif
#endif
/* SIZEOF_CURL_OFF_T */
#ifndef _REENTRANT
/* Solaris needs _REENTRANT set for a few function prototypes and things to
...
...
@@ -135,7 +135,7 @@ typedef unsigned char bool;
#define HAVE_MSG_NOSIGNAL 1
/* we have MSG_NOSIGNAL */
#else
#define SEND_4TH_ARG 0
#endif
#endif
/* MSG_NOSIGNAL */
/* To make large file support transparent even on Windows */
#if defined(WIN32) && (SIZEOF_CURL_OFF_T > 4)
...
...
@@ -147,7 +147,7 @@ typedef unsigned char bool;
#define fstat(fd,st) _fstati64(fd,st)
#else
#define struct_stat struct stat
#endif
#endif
/* Win32 with large file support */
/* Below we define four functions. They should
1. close a socket
...
...
@@ -162,7 +162,7 @@ typedef unsigned char bool;
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
/* Prevent including <winsock*.h> in <windows.h> */
#endif
#endif
/* WIN32_LEAN_AND_MEAN */
#ifdef HAVE_WINSOCK2_H
#include
<winsock2.h>
/* required by telnet.c */
...
...
@@ -183,12 +183,12 @@ typedef unsigned char bool;
#define sread(x,y,z) recv(x,y,z, SEND_4TH_ARG)
#define swrite(x,y,z) send(x,y,z, SEND_4TH_ARG)
#define HAVE_ALARM
#endif
#endif
/* !GNU or mingw */
#define DIR_CHAR "\\"
#define DOT_CHAR "_"
#else
#else
/* WIN32 */
#ifdef DJGPP
#define sclose(x) close_s(x)
...
...
@@ -201,21 +201,21 @@ typedef unsigned char bool;
#undef word
#endif
#else
#else
/* DJGPP */
#ifdef __BEOS__
#define sclose(x) closesocket(x)
#define sread(x,y,z) (ssize_t)recv(x,y,z, SEND_4TH_ARG)
#define swrite(x,y,z) (ssize_t)send(x,y,z, SEND_4TH_ARG)
#else
#else
/* __BEOS__ */
#define sclose(x) close(x)
#define sread(x,y,z) recv(x,y,z, SEND_4TH_ARG)
#define swrite(x,y,z) send(x,y,z, SEND_4TH_ARG)
#endif
#endif
/* __BEOS__ */
#define HAVE_ALARM
#endif
#endif
/* DJGPP */
#ifdef _AMIGASF
#undef HAVE_ALARM
...
...
@@ -235,7 +235,7 @@ typedef unsigned char bool;
int
fileno
(
FILE
*
stream
);
#endif
#endif
#endif
/* WIN32 */
/* now typedef our socket type */
#ifdef WIN32
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment