forked from Imagelibrary/rtems
2010-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* stringto01/init.c: Redefine LONG_LONG_MAX and LONG_LONG_MIN for c99.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2010-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* stringto01/init.c: Redefine LONG_LONG_MAX and LONG_LONG_MIN
|
||||||
|
for c99.
|
||||||
|
|
||||||
2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
* cpuuse/tswitch.c: Shrink memory requirements.
|
* cpuuse/tswitch.c: Shrink memory requirements.
|
||||||
|
|||||||
@@ -19,6 +19,15 @@
|
|||||||
#define __STRING(x) #x /* stringify without expanding x */
|
#define __STRING(x) #x /* stringify without expanding x */
|
||||||
#define __XSTRING(x) __STRING(x) /* expand x, then stringify */
|
#define __XSTRING(x) __STRING(x) /* expand x, then stringify */
|
||||||
|
|
||||||
|
/* c99 has LLONG_MAX instead of LONG_LONG_MAX */
|
||||||
|
#ifndef LONG_LONG_MAX
|
||||||
|
#define LONG_LONG_MAX LLONG_MAX
|
||||||
|
#endif
|
||||||
|
/* c99 has LLONG_MIN instead of LONG_LONG_MIN */
|
||||||
|
#ifndef LONG_LONG_MIN
|
||||||
|
#define LONG_LONG_MIN LLONG_MIN
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Test pointer conversions */
|
/* Test pointer conversions */
|
||||||
#define TEST_STRING_TO_TYPE void *
|
#define TEST_STRING_TO_TYPE void *
|
||||||
#define TEST_STRING_TO_NAME test_rtems_string_to_pointer
|
#define TEST_STRING_TO_NAME test_rtems_string_to_pointer
|
||||||
|
|||||||
Reference in New Issue
Block a user