mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
fix MSVC build regressions
This commit is contained in:
@ -37,10 +37,12 @@
|
||||
# define OPEN_MASK O_BINARY
|
||||
|
||||
# ifdef _MSC_VER
|
||||
# define S_ISREG(x) ((x) | _S_IFREG)
|
||||
# define S_ISDIR(x) ((x) | _S_IFDIR)
|
||||
# define S_ISREG(x) ((x) & _S_IFREG)
|
||||
# define S_ISDIR(x) ((x) & _S_IFDIR)
|
||||
# define S_IRUSR _S_IREAD
|
||||
# define S_IWUSR _S_IWRITE
|
||||
# define W_OK 2
|
||||
# define R_OK 4
|
||||
# else
|
||||
# define OPEN _wopen
|
||||
# define CREAT _wcreat
|
||||
|
Reference in New Issue
Block a user