mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
MSVC compatiblity
This commit is contained in:
parent
2cc356588e
commit
e260fd1c2e
@ -61,6 +61,21 @@
|
||||
#define mkdir(a,b) mkdir(a)
|
||||
#define S_IRGRP 0
|
||||
#define S_IWGRP 0
|
||||
#ifndef F_OK
|
||||
#define F_OK 0
|
||||
#endif
|
||||
#ifndef W_OK
|
||||
#define W_OK 2
|
||||
#endif
|
||||
#ifndef R_OK
|
||||
#define R_OK 4
|
||||
#endif
|
||||
#ifndef S_IRUSR
|
||||
#define S_IRUSR S_IREAD
|
||||
#endif
|
||||
#ifndef S_IWUSR
|
||||
#define S_IWUSR S_IWRITE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef SERVICE_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user