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
418683f5
Commit
418683f5
authored
16 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Added the use of Watt-32 tcp/ip stack for Win32 targets.
parent
008b848d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/config-win32.h
+24
-0
24 additions, 0 deletions
lib/config-win32.h
lib/connect.c
+0
-4
0 additions, 4 deletions
lib/connect.c
lib/ftp.c
+0
-2
0 additions, 2 deletions
lib/ftp.c
with
24 additions
and
6 deletions
lib/config-win32.h
+
24
−
0
View file @
418683f5
...
...
@@ -343,6 +343,30 @@
/* Define this if you have struct timeval */
#define HAVE_STRUCT_TIMEVAL 1
/* ---------------------------------------------------------------- */
/* Watt-32 tcp/ip SPECIFIC */
/* ---------------------------------------------------------------- */
#ifdef USE_WATT32
#include
<tcp.h>
#undef byte
#undef word
#undef USE_WINSOCK
#undef HAVE_WINSOCK_H
#undef HAVE_WINSOCK2_H
#undef HAVE_WS2TCPIP_H
#define HAVE_GETADDRINFO
#define HAVE_GETNAMEINFO
#define HAVE_SYS_IOCTL_H
#define HAVE_SYS_SOCKET_H
#define HAVE_NETINET_IN_H
#define HAVE_NETDB_H
#define HAVE_ARPA_INET_H
#define HAVE_FREEADDRINFO
#define SOCKET int
#endif
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */
...
...
This diff is collapsed.
Click to expand it.
lib/connect.c
+
0
−
4
View file @
418683f5
...
...
@@ -23,8 +23,6 @@
#include
"setup.h"
#ifndef WIN32
/* headers for non-win32 */
#ifdef HAVE_SYS_TIME_H
#include
<sys/time.h>
#endif
...
...
@@ -71,8 +69,6 @@
#include
<inet.h>
#endif
#endif
/* !WIN32 */
#include
<stdio.h>
#include
<errno.h>
#include
<string.h>
...
...
This diff is collapsed.
Click to expand it.
lib/ftp.c
+
0
−
2
View file @
418683f5
...
...
@@ -34,7 +34,6 @@
#include
<unistd.h>
#endif
#ifndef WIN32
#ifdef HAVE_SYS_SOCKET_H
#include
<sys/socket.h>
#endif
...
...
@@ -54,7 +53,6 @@
#include
<in.h>
#include
<inet.h>
#endif
#endif
/* !WIN32 */
#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
#undef in_addr_t
...
...
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