Cygwin off_t, dev_t, uid_t and gid_t definitions

Sebastian Huber sebastian.huber@embedded-brains.de
Wed Apr 13 08:38:00 GMT 2016



On 13/04/16 08:18, Sebastian Huber wrote:
>
> Since the default _off_t definition is
>
> #ifndef __off_t_defined
> typedef long _off_t;
> #endif
>
> The off_t definition could be probably simply
>
> typedef _off_t off_t; 

Ok, this is non-sense. On 32-bit machines _off_t is 32-bit, but off_t in 
Cygwin 64-bit. So, we cannot simplify this.

-- 
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