[PATCH v3 2/2] Add BSD guards for off_t, dev_t, uid_t, and gid_t
Sebastian Huber
sebastian.huber@embedded-brains.de
Wed Apr 13 13:40:00 GMT 2016
On 13/04/16 15:24, Corinna Vinschen wrote:
> diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h
> index bdf4085..f9ed4b6 100644
> --- a/winsup/cygwin/include/cygwin/types.h
> +++ b/winsup/cygwin/include/cygwin/types.h
> @@ -32,19 +32,8 @@ typedef struct timespec timespec_t;
> typedef struct timespec timestruc_t;
> #endif /*__timestruc_t_defined*/
>
> -#ifndef __off_t_defined
> -#define __off_t_defined
> -typedef __off_t off_t;
> -#endif /*__off_t_defined*/
> -
What I don't understand is, if you remove the off_t definition here, via
which include do you get it then? The <sys/types.h> seems to be not
included by cygwin/types.h.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the Newlib
mailing list