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
9691a78f
Commit
9691a78f
authored
18 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).
parent
7ff6b6fa
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
lib/setup.h
+4
-4
4 additions, 4 deletions
lib/setup.h
lib/setup_once.h
+3
-3
3 additions, 3 deletions
lib/setup_once.h
with
7 additions
and
7 deletions
lib/setup.h
+
4
−
4
View file @
9691a78f
...
...
@@ -233,7 +233,7 @@ typedef unsigned char bool;
#else
/* WIN32 */
#ifdef
DJGPP
#ifdef
MSDOS
/* Watt-32 */
#include
<sys/ioctl.h>
#define sclose(x) close_s(x)
#define select(n,r,w,x,t) select_s(n,r,w,x,t)
...
...
@@ -244,7 +244,7 @@ typedef unsigned char bool;
#undef word
#endif
#else
/*
DJGPP
*/
#else
/*
MSDOS
*/
#ifdef __BEOS__
#define sclose(x) closesocket(x)
...
...
@@ -254,7 +254,7 @@ typedef unsigned char bool;
#define HAVE_ALARM
#endif
/*
DJGPP
*/
#endif
/*
MSDOS
*/
#ifdef _AMIGASF
#undef HAVE_ALARM
...
...
@@ -267,7 +267,7 @@ typedef unsigned char bool;
#define DOT_CHAR "."
#endif
#ifdef
DJGPP
#ifdef
MSDOS
#undef DOT_CHAR
#define DOT_CHAR "_"
#endif
...
...
This diff is collapsed.
Click to expand it.
lib/setup_once.h
+
3
−
3
View file @
9691a78f
...
...
@@ -33,7 +33,7 @@
#define SEND_4TH_ARG MSG_NOSIGNAL
#else
#define SEND_4TH_ARG 0
#endif
#endif
/*
...
...
@@ -74,7 +74,7 @@
(RECV_TYPE_ARG4)(SEND_4TH_ARG))
#endif
#else
/* HAVE_RECV */
#ifdef
DJGPP
#ifdef
MSDOS
#define sread(x,y,z) (ssize_t)read_s((int)(x), (char *)(y), (int)(z))
#endif
#ifndef sread
...
...
@@ -101,7 +101,7 @@
(SEND_TYPE_ARG4)(SEND_4TH_ARG))
#endif
#else
/* HAVE_SEND */
#ifdef
DJGPP
#ifdef
MSDOS
#define swrite(x,y,z) (ssize_t)write_s((int)(x), (char *)(y), (int)(z))
#endif
#ifndef swrite
...
...
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