Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
e8c3bb45
Commit
e8c3bb45
authored
19 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Fix for building with MS Visual-C and single-threaded
runtime libs.
parent
4ec55a96
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/hostthre.c
+4
-0
4 additions, 0 deletions
lib/hostthre.c
lib/setup.h
+8
-0
8 additions, 0 deletions
lib/setup.h
with
12 additions
and
0 deletions
lib/hostthre.c
+
4
−
0
View file @
e8c3bb45
...
@@ -88,6 +88,10 @@
...
@@ -88,6 +88,10 @@
/* The last #include file should be: */
/* The last #include file should be: */
#include
"memdebug.h"
#include
"memdebug.h"
#if defined(_MSC_VER) && defined(CURL_NO__BEGINTHREADEX)
#pragma message ("No _beginthreadex() available in this RTL")
#endif
/***********************************************************************
/***********************************************************************
* Only for Windows threaded name resolves builds
* Only for Windows threaded name resolves builds
**********************************************************************/
**********************************************************************/
...
...
This diff is collapsed.
Click to expand it.
lib/setup.h
+
8
−
0
View file @
e8c3bb45
...
@@ -262,6 +262,14 @@ typedef int curl_socket_t;
...
@@ -262,6 +262,14 @@ typedef int curl_socket_t;
#endif
#endif
#endif
#endif
/* "cl -ML" or "cl -MLd" implies a single-threaded runtime library where
_beginthreadex() is not available */
#if defined(_MSC_VER) && !defined(_MT) && !defined(USE_ARES)
#undef USE_THREADING_GETADDRINFO
#undef USE_THREADING_GETHOSTBYNAME
#define CURL_NO__BEGINTHREADEX
#endif
#ifdef mpeix
#ifdef mpeix
#define IOCTL_3_ARGS
#define IOCTL_3_ARGS
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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