Re: [PATCH 1/2] Fix MSVC build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 7/5/2010 21:41, schrieb Peter Harris:
> Signed-off-by: Peter Harris <pharris@xxxxxxxxxxxx>
> ---
>  compat/mingw.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/compat/mingw.h b/compat/mingw.h
> index 8104039..08fea02 100644
> --- a/compat/mingw.h
> +++ b/compat/mingw.h
> @@ -14,11 +14,13 @@ typedef int uid_t;
>  #define S_ISSOCK(x) 0
>  
>  #ifndef _STAT_H_
> +#ifndef S_IRUSR
>  #define S_IRUSR 0
>  #define S_IWUSR 0
>  #define S_IXUSR 0
>  #define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
>  #endif
> +#endif
>  #define S_IRGRP 0
>  #define S_IWGRP 0
>  #define S_IXGRP 0

This doesn't apply: I don't see the #ifndef _STAT_H_ brackets anywhere in
my version of compat/mingw.h.

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]