Commit 59d69a1e authored by rswindell's avatar rswindell
Browse files

Added OS/2 support.

parent b6aaefa7
......@@ -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
/**************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment