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
86c5ca70
Commit
86c5ca70
authored
Aug 15, 2005
by
deuce
Browse files
Add SH_COMPAT defininition.
parent
1a606a19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/xpdev/filewrap.h
src/xpdev/filewrap.h
+8
-0
No files found.
src/xpdev/filewrap.h
View file @
86c5ca70
...
...
@@ -67,6 +67,10 @@
#define SH_DENYRW OF_SHARE_EXCLUSIVE
#endif
#ifndef SH_COMPAT
#define SH_COMPAT 0
#endif
#elif defined(__unix__)
#include <fcntl.h>
...
...
@@ -99,6 +103,10 @@
#else
#define SH_DENYWR F_RDLCK
/* shareable lock */
#endif
#ifndef SH_COMPAT
#define SH_COMPAT 0
#endif
#endif
#define chsize(fd,size) ftruncate(fd,size)
#define tell(fd) lseek(fd,0,SEEK_CUR)
...
...
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