Separate __has_attribute
from defined(__has_attribute)
Fix Visual C warnings: ``` regenc.h(121): warning C4067: unexpected tokens following preprocessor directive - expected a newline ```
This commit is contained in:
parent
131ba059ca
commit
f1f0cc14cc
Notes:
git
2025-05-12 08:45:55 +00:00
4
regenc.h
4
regenc.h
@ -118,8 +118,10 @@ typedef struct {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
short int len;
|
short int len;
|
||||||
#if defined(__has_attribute) && __has_attribute(nonstring)
|
#if defined(__has_attribute)
|
||||||
|
# if __has_attribute(nonstring)
|
||||||
__attribute__((nonstring))
|
__attribute__((nonstring))
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
const UChar name[6];
|
const UChar name[6];
|
||||||
int ctype;
|
int ctype;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user