Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
59d69a1e
Commit
59d69a1e
authored
Aug 24, 2002
by
rswindell
Browse files
Added OS/2 support.
parent
b6aaefa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/xpdev/filewrap.h
src/xpdev/filewrap.h
+8
-3
No files found.
src/xpdev/filewrap.h
View file @
59d69a1e
...
...
@@ -67,9 +67,6 @@
#define SH_DENYWR OF_SHARE_DENY_WRITE
#define SH_DENYRW OF_SHARE_EXCLUSIVE
#endif
#ifndef O_DENYNONE
#define O_DENYNONE SH_DENYNO
#endif
#elif defined(__unix__)
...
...
@@ -87,6 +84,14 @@
#define chsize(fd,size) ftruncate(fd,size)
#define tell(fd) lseek(fd,0,SEEK_CUR)
#elif defined(__OS2__)
#include <share.h>
/* SH_DENY */
#endif
#ifndef O_DENYNONE
#define O_DENYNONE SH_DENYNO
#endif
/**************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment