Commit 6a5a16c
nimble/host: Rename STRINGIFY to aviod compile error
If `STRINGIFY` is also defined in the kernel or other third-party
libraries, it will cause the following error:
ble_gatts_lcl.c:95: error:"STRINGIFY" redefined [-Werror]
95 | #define STRINGIFY(X) #X
In order to prevent this situation, rename to `NIMBLE_STRINGIFY`.
Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com>1 parent 1701428 commit 6a5a16c
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| |||
0 commit comments