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
9e61dfe8
Commit
9e61dfe8
authored
19 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Changes for PellesC compiler under Win32.
parent
7b51aafa
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
include/curl/curl.h
+7
-4
7 additions, 4 deletions
include/curl/curl.h
with
7 additions
and
4 deletions
include/curl/curl.h
+
7
−
4
View file @
9e61dfe8
...
...
@@ -65,9 +65,11 @@ extern "C" {
* We want the typedef curl_off_t setup for large file support on all
* platforms. We also provide a CURL_FORMAT_OFF_T define to use in *printf
* format strings when outputting a variable of type curl_off_t.
*
* Note: "pocc -Ze" is MSVC compatibily mode and this sets _MSC_VER!
*/
#if defined(_MSC_VER) || (defined(__LCC__) && defined(WIN32))
#if
(
defined(_MSC_VER)
&& !defined(__POCC__))
|| (defined(__LCC__) && defined(WIN32))
/* MSVC */
#ifdef _WIN32_WCE
typedef
long
curl_off_t
;
...
...
@@ -76,7 +78,7 @@ extern "C" {
typedef
signed
__int64
curl_off_t
;
#define CURL_FORMAT_OFF_T "%I64d"
#endif
#else
/* _MSC_VER
|| (defined
(__LCC__
)
&&
defined(
WIN32)
)
*/
#else
/*
(
_MSC_VER
&& !__POCC__) ||
(__LCC__ && WIN32) */
#if (defined(__GNUC__) && defined(WIN32)) || defined(__WATCOMC__)
/* gcc on windows or Watcom */
typedef
long
long
curl_off_t
;
...
...
@@ -108,7 +110,7 @@ extern "C" {
#define CURL_FORMAT_OFF_T "%ld"
#endif
#endif
/* GCC or Watcom on Windows */
#endif
/* _MSC_VER
|| (defined
(__LCC__
)
&&
defined(
WIN32)
)
*/
#endif
/*
(
_MSC_VER
&& !__POCC__) ||
(__LCC__ && WIN32) */
#ifdef UNDEF_FILE_OFFSET_BITS
/* this was defined above for our checks, undefine it again */
...
...
@@ -400,7 +402,8 @@ typedef enum {
* platforms.
*/
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__)
defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__) || \
defined(__POCC__)
/* This compiler is believed to have an ISO compatible preprocessor */
#define CURL_ISOCPP
#else
...
...
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