On 16 June 2017 at 23:39, Brian Paul <bri...@vmware.com> wrote:
> Use a dummy implementation of the access() function.  Use \ path separator.
> Add a few comments.
> ---
>  src/gallium/auxiliary/hud/hud_context.c | 36 
> +++++++++++++++++++++++++++------
>  1 file changed, 30 insertions(+), 6 deletions(-)
>
> diff --git a/src/gallium/auxiliary/hud/hud_context.c 
> b/src/gallium/auxiliary/hud/hud_context.c
> index 9dd2fbf..cb7ed44 100644
> --- a/src/gallium/auxiliary/hud/hud_context.c
> +++ b/src/gallium/auxiliary/hud/hud_context.c
> @@ -958,26 +958,50 @@ static void strcat_without_spaces(char *dst, const char 
> *src)
>     *dst = 0;
>  }
>
> +
> +#ifdef PIPE_OS_WINDOWS
> +#define W_OK 0
> +static int
> +access(const char *pathname, int mode)
Windows has the _access and _access_s which seem to provide equivalent
functionality, right?

JFYI, by no means an objection/blocker.

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to