This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Cygwin off_t, dev_t, uid_t and gid_t definitions
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Wed, 13 Apr 2016 10:38:43 +0200
- Subject: Re: Cygwin off_t, dev_t, uid_t and gid_t definitions
- Authentication-results: sourceware.org; auth=none
- References: <570DE4C9 dot 80501 at embedded-brains dot de>
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.