* ch-lang.c (chill_is_varying_struct): Magic string is
was "<var_length>" is now "__var_length" (more portable).
This commit is contained in:
parent
0c9935502f
commit
73cd3b4911
2 changed files with 6 additions and 1 deletions
|
@ -192,7 +192,7 @@ chill_is_varying_struct (type)
|
|||
return 0;
|
||||
if (TYPE_NFIELDS (type) != 2)
|
||||
return 0;
|
||||
if (strcmp (TYPE_FIELD_NAME (type, 0), "<var_length>") != 0)
|
||||
if (strcmp (TYPE_FIELD_NAME (type, 0), "__var_length") != 0)
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue