Skip to content
Snippets Groups Projects
Commit 3f9d6e42 authored by Dave Yeo's avatar Dave Yeo Committed by Martin Storsjö
Browse files

os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2

parent e5773d8b
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,12 @@ static inline int is_dos_path(const char *path)
return 0;
}
#if defined(__OS2__)
#define SHUT_RD 0
#define SHUT_WR 1
#define SHUT_RDWR 2
#endif
#if defined(_WIN32)
#define SHUT_RD SD_RECEIVE
#define SHUT_WR SD_SEND
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment