pike.git / src / modules / _Stdio / file.h

version» Context lines:

pike.git/src/modules/_Stdio/file.h:64:   #define IPPROTO_IPV6 IPPROTO_IPV6   #endif      /* Provide some values not provided by windows (and without a direct equivalent) */   #ifndef R_OK   #define R_OK 4 /* Test for read permission. */   #endif   #ifndef W_OK   #define W_OK 2 /* Test for write permission. */   #endif - #define X_OK R_OK /* execute permission - unsupported in windows*/ + #ifndef X_OK + #define X_OK R_OK /* execute permission - unsupported in windows*/ + #endif   #ifndef F_OK   #define F_OK 0 /* Test for existence. */   #endif      struct my_file   {    struct fd_callback_box box; /* Must be first. */    /* The box is hooked in whenever box.backend is set. */       struct svalue event_cbs[6];