1
1

As there is no X_OK on Windows, make it equal to R_OK.

This commit was SVN r13270.
Этот коммит содержится в:
George Bosilca 2007-01-24 05:36:02 +00:00
родитель 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)