mirror of https://github.com/ARMmbed/mbed-os.git
fix STRINGIFY redefining issue
parent
fdea7b146c
commit
3c3a9a67fe
|
@ -18,7 +18,7 @@
|
|||
|
||||
#if defined (__ICCARM__)
|
||||
#ifndef STRINGIFY
|
||||
#define STRINGIFY(s) #s
|
||||
#define STRINGIFY(a) #a
|
||||
#endif
|
||||
#ifndef SECTION
|
||||
#define SECTION(_name) _Pragma( STRINGIFY(location=##_name##))
|
||||
|
|
|
@ -191,7 +191,7 @@ typedef __kernel_ssize_t SSIZE_T;
|
|||
#endif
|
||||
|
||||
#if defined (__ICCARM__)
|
||||
#define STRINGIFY(s) #s
|
||||
#define STRINGIFY(a) #a
|
||||
#define SECTION(_name) _Pragma( STRINGIFY(location=_name))
|
||||
#define ALIGNMTO(_bound) _Pragma( STRINGIFY(data_alignment=_bound))
|
||||
#define _PACKED_ __packed
|
||||
|
|
Loading…
Reference in New Issue