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
938a72b2
Commit
938a72b2
authored
20 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Gisle's adjustments to allow building with lcc-win32
parent
a8827b1e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
include/curl/curl.h
+4
-4
4 additions, 4 deletions
include/curl/curl.h
lib/config-win32.h
+7
-1
7 additions, 1 deletion
lib/config-win32.h
lib/setup.h
+2
-1
2 additions, 1 deletion
lib/setup.h
lib/timeval.h
+2
-1
2 additions, 1 deletion
lib/timeval.h
with
15 additions
and
7 deletions
include/curl/curl.h
+
4
−
4
View file @
938a72b2
...
...
@@ -52,11 +52,11 @@ extern "C" {
* 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.
*/
#if defined(_MSC_VER)
#if defined(_MSC_VER)
|| defined(__LCC__)
/* MSVC */
typedef
signed
__int64
curl_off_t
;
#define CURL_FORMAT_OFF_T "%I64d"
#else
/* MSC_VER */
#else
/*
_
MSC_VER
|| __LCC__
*/
#if (defined(__GNUC__) && defined(WIN32)) || defined(__WATCOMC__)
/* gcc on windows or Watcom */
typedef
long
long
curl_off_t
;
...
...
@@ -88,7 +88,7 @@ extern "C" {
#define CURL_FORMAT_OFF_T "%ld"
#endif
#endif
/* GCC or Watcom on Windows */
#endif
/* MSC_VER */
#endif
/*
_
MSC_VER
|| __LCC__
*/
#ifdef UNDEF_FILE_OFFSET_BITS
/* this was defined above for our checks, undefine it again */
...
...
@@ -327,7 +327,7 @@ typedef enum {
* platforms.
*/
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
defined(__HP_aCC) || defined(__BORLANDC__)
defined(__HP_aCC) || defined(__BORLANDC__)
|| defined(__LCC__)
/* This compiler is believed to have an ISO compatible preprocessor */
#define CURL_ISOCPP
#else
...
...
This diff is collapsed.
Click to expand it.
lib/config-win32.h
+
7
−
1
View file @
938a72b2
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
#ifndef __CONFIG_WIN32_H
#define __CONFIG_WIN32_H
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
...
...
@@ -223,9 +226,12 @@
/*************************************************
* This section is for compiler specific defines.*
*************************************************/
#if defined(MINGW32) || defined(__WATCOMC__)
/* Borland and MS don't have this */
/* Borland and MS don't have this */
#if defined(MINGW32) || defined(__WATCOMC__) || defined(__LCC__)
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#endif
#endif
This diff is collapsed.
Click to expand it.
lib/setup.h
+
2
−
1
View file @
938a72b2
...
...
@@ -261,7 +261,8 @@ typedef int curl_socket_t;
#error "ares does not yet support IPv6. Disable IPv6 or ares and rebuild"
#endif
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(USE_ARES)
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(USE_ARES) && \
!defined(__LCC__)
/* lcc-win32 doesn't have _beginthreadex() */
#ifdef ENABLE_IPV6
#define USE_THREADING_GETADDRINFO
#else
...
...
This diff is collapsed.
Click to expand it.
lib/timeval.h
+
2
−
1
View file @
938a72b2
...
...
@@ -37,7 +37,8 @@
#endif
#ifndef HAVE_GETTIMEOFDAY
#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF)
#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) && \
!defined(__LCC__)
struct
timeval
{
long
tv_sec
;
long
tv_usec
;
...
...
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