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
00a7dda2
Commit
00a7dda2
authored
19 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Use config-win32.h on Windows. Fixes for djgpp.
parent
4dba07c3
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
ares/setup.h
+9
-2
9 additions, 2 deletions
ares/setup.h
with
9 additions
and
2 deletions
ares/setup.h
+
9
−
2
View file @
00a7dda2
...
...
@@ -17,12 +17,19 @@
#ifdef HAVE_CONFIG_H
#include
"config.h"
#else
#ifdef WIN32
#include
"config-win32.h"
#endif
/* simple work-around for now, for systems without configure support */
#ifndef __DJGPP__
#define ssize_t int
#endif
#ifndef _MSC_VER
#define socklen_t int
#endif
#endif
#endif
/* HAVE_CONFIG_H */
/* Recent autoconf versions define these symbols in config.h. We don't want
them (since they collide with the libcurl ones when we build
...
...
@@ -61,7 +68,7 @@ typedef int ares_socket_t;
#endif
#if (defined(WIN32) || defined(WATT32)) && \
!(defined(__MINGW32__) || defined(NETWARE))
!(defined(__MINGW32__) || defined(NETWARE)
|| defined(__DJGPP__)
)
/* protos for the functions we provide in windows_port.c */
int
ares_strncasecmp
(
const
char
*
s1
,
const
char
*
s2
,
int
n
);
int
ares_strcasecmp
(
const
char
*
s1
,
const
char
*
s2
);
...
...
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