Skip to content

Commit 3c3a9a6

Browse files
Archcady0xc0170
authored andcommitted
fix STRINGIFY redefining issue
1 parent fdea7b1 commit 3c3a9a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/rtl8195a_compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#if defined (__ICCARM__)
2020
#ifndef STRINGIFY
21-
#define STRINGIFY(s) #s
21+
#define STRINGIFY(a) #a
2222
#endif
2323
#ifndef SECTION
2424
#define SECTION(_name) _Pragma( STRINGIFY(location=##_name##))

targets/TARGET_Realtek/TARGET_AMEBA/sdk/soc/realtek/common/bsp/basic_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ typedef __kernel_ssize_t SSIZE_T;
191191
#endif
192192

193193
#if defined (__ICCARM__)
194-
#define STRINGIFY(s) #s
194+
#define STRINGIFY(a) #a
195195
#define SECTION(_name) _Pragma( STRINGIFY(location=_name))
196196
#define ALIGNMTO(_bound) _Pragma( STRINGIFY(data_alignment=_bound))
197197
#define _PACKED_ __packed

0 commit comments

Comments
 (0)