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
b5c90c9b
Commit
b5c90c9b
authored
20 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Borland doesn't have <sys/utime.h>, utime() nor _lseeki64().
parent
c3ecd552
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/config-win32.h
+2
-0
2 additions, 0 deletions
src/config-win32.h
src/main.c
+6
-1
6 additions, 1 deletion
src/main.c
with
8 additions
and
1 deletion
src/config-win32.h
+
2
−
0
View file @
b5c90c9b
...
...
@@ -21,10 +21,12 @@
#define HAVE_FCNTL_H 1
/* Define if you have utime() */
#if !defined(__BORLANDC__)
#define HAVE_UTIME 1
/* Define if you have the <sys/utime.h> header file */
#define HAVE_SYS_UTIME_H 1
#endif
/* Define if you have the <locale.h> header file */
#define HAVE_LOCALE_H 1
...
...
This diff is collapsed.
Click to expand it.
src/main.c
+
6
−
1
View file @
b5c90c9b
...
...
@@ -216,8 +216,13 @@ char *strdup(char *str)
#if !defined(HAVE_FTRUNCATE) && defined(WIN32)
/*
* Truncate a file handle at a 64-bit position 'where'
* Truncate a file handle at a 64-bit position 'where'.
* Borland doesn't even support 64-bit types.
*/
#ifdef __BORLANDC__
#define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
#endif
static
int
ftruncate
(
int
fd
,
curl_off_t
where
)
{
curl_off_t
curr
;
...
...
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