As there is no X_OK on Windows, make it equal to R_OK.
This commit was SVN r13270.
Этот коммит содержится в:
родитель
6c8bbb423e
Коммит
658f411ba4
@ -90,9 +90,9 @@ typedef unsigned int uint;
|
|||||||
|
|
||||||
/* Defines for the access functions */
|
/* Defines for the access functions */
|
||||||
#define F_OK 0x00
|
#define F_OK 0x00
|
||||||
#define R_OK 0x02
|
#define R_OK 0x04
|
||||||
#define W_OK 0x04
|
#define W_OK 0x02
|
||||||
#define X_OK 0x06
|
#define X_OK R_OK /* no execution right on Windows */
|
||||||
#define WTERMSIG(EXIT_CODE) (1)
|
#define WTERMSIG(EXIT_CODE) (1)
|
||||||
#define WIFEXITED(EXIT_CODE) (1)
|
#define WIFEXITED(EXIT_CODE) (1)
|
||||||
#define WEXITSTATUS(EXIT_CODE) (EXIT_CODE)
|
#define WEXITSTATUS(EXIT_CODE) (EXIT_CODE)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user