4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-17 12:01:53 +08:00
Sebastian Huber 8a5af1a184 Use __machine_*_t_defined for internal types
Newlib defines defaults for internal types via <sys/_types.h> and uses
<machine/_types.h> to let targets define their own type if necessary.

Previously for example

	#ifndef __dev_t_defined
	typedef short __dev_t;
	#endif

However, the __*_t_defined pattern conflicts with the glibc type guard
pattern for user types, e.g. dev_t in this example.  Introduce a
__machine_*_t_defined pattern for internal types (defined by
<machine/_types.h>, used by <sys/_types.h>).  For example

	#ifndef __machine_dev_t_defined
	typedef short __dev_t;
	#endif

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2016-04-15 14:51:39 +02:00
..
2016-04-04 10:25:27 -05:00
2016-03-17 21:08:50 -05:00
2016-03-17 21:08:56 -05:00
2015-08-27 12:50:25 +02:00
2015-07-06 14:58:51 -05:00
2016-03-17 21:09:01 -05:00
2016-04-04 10:25:29 -05:00
2016-03-17 21:09:10 -05:00
2016-03-17 21:09:13 -05:00