Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
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
Main
Synchronet
Commits
aeee8c09
Commit
aeee8c09
authored
19 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Kludges necessary for Cygwin compile (why? I have no idea...)
parent
e7b34865
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/xpdev/datewrap.h
+1
-1
1 addition, 1 deletion
src/xpdev/datewrap.h
src/xpdev/dirwrap.h
+4
-0
4 additions, 0 deletions
src/xpdev/dirwrap.h
src/xpdev/filewrap.h
+2
-0
2 additions, 0 deletions
src/xpdev/filewrap.h
src/xpdev/xpbeep.c
+1
-1
1 addition, 1 deletion
src/xpdev/xpbeep.c
with
8 additions
and
2 deletions
src/xpdev/datewrap.h
+
1
−
1
View file @
aeee8c09
...
...
@@ -43,7 +43,7 @@
/* Compensates for struct tm "weirdness" */
time_t
sane_mktime
(
struct
tm
*
);
#if defined(__BORLANDC__)
#if defined(__BORLANDC__)
|| defined(__CYGWIN__)
#define timezone _timezone
#endif
...
...
This diff is collapsed.
Click to expand it.
src/xpdev/dirwrap.h
+
4
−
0
View file @
aeee8c09
...
...
@@ -67,6 +67,10 @@ extern "C" {
#include
<glob.h>
/* POSIX.2 directory pattern matching function */
#define MKDIR(dir) mkdir(dir,0777)
#if defined(__CYGWIN__)
#define DLLEXPORT
/* CygWin's glob.h #undef's DLLEXPORT */
#endif
#else
#include
<direct.h>
/* mkdir() */
...
...
This diff is collapsed.
Click to expand it.
src/xpdev/filewrap.h
+
2
−
0
View file @
aeee8c09
...
...
@@ -80,8 +80,10 @@
#include
<share.h>
#define L_SET SEEK_SET
#else
#ifndef O_TEXT
#define O_TEXT 0
/* all files in binary mode on Unix */
#define O_BINARY 0
/* all files in binary mode on Unix */
#endif
#undef O_DENYNONE
#define O_DENYNONE (1<<31)
/* req'd for Baja/nopen compatibility */
...
...
This diff is collapsed.
Click to expand it.
src/xpdev/xpbeep.c
+
1
−
1
View file @
aeee8c09
...
...
@@ -259,7 +259,7 @@ void DLLCALL unix_beep(int freq, int dur)
}
#endif
#if !defined(__GNU__) && !defined(__QNX__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__APPLE__)
#if !defined(__GNU__) && !defined(__QNX__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__APPLE__)
&& !defined(__CYGWIN__)
if
(
console_fd
==
-
1
)
console_fd
=
open
(
"/dev/console"
,
O_NOCTTY
);
...
...
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