summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-12-10 17:12:11 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-12-10 17:12:11 +0000
commit655e435357f985b125e4de8e63d268ae42de27e2 (patch)
tree3e0974db17c7f5c427a60026cc1afe7e4fdcdffc /newlib/libc/include/sys
parente6291536c7060db2c95b556434b2d41aecf5fba5 (diff)
downloadcygnal-655e435357f985b125e4de8e63d268ae42de27e2.tar.gz
cygnal-655e435357f985b125e4de8e63d268ae42de27e2.tar.bz2
cygnal-655e435357f985b125e4de8e63d268ae42de27e2.zip
2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
* configure.host: Add xc16x support. * libc/include/machine/ieeefp.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/Makefile.in: Regenerated. * libc/machine/aclocal.m4: Ditto. * libc/machine/configure: Ditto. * libc/machine/xc16x/Makefile.am: New file. * libc/machine/xc16x/Makefile.in: Ditto. * libc/machine/xc16x/aclocal.m4: Ditto. * libc/machine/xc16x/configure: Ditto. * libc/machine/xc16x/configure.in: Ditto. * libc/machine/xc16x/putchar.c: Ditto. * libc/machine/xc16x/puts.c: Ditto. * libc/machine/xc16x/setjmp.S: Ditto.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 7572d13f2..0dfac088e 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -29,6 +29,10 @@
#define UINT_MAX (__INT_MAX__ * 2U + 1)
#endif
+#if defined (__xc16x__) || defined (__xc16xL__) || defined (__xc16xS__)
+#define __SMALL_BITFIELDS
+#endif
+
#ifdef __W65__
#define __SMALL_BITFIELDS
#endif