asn1: Fix OS X build
We can't use VIS_DQ on when the OS has a vis implementation but lacks VIS_DQ.
This commit is contained in:
@@ -592,7 +592,7 @@ defval(struct templatehead *temp, Member *m)
|
||||
char *quoted;
|
||||
|
||||
if (rk_strasvis("ed, m->defval->u.stringvalue,
|
||||
VIS_CSTYLE | VIS_DQ | VIS_NL, "") < 0)
|
||||
VIS_CSTYLE | VIS_NL, "\"") < 0)
|
||||
err(1, "Could not quote a string");
|
||||
add_line(temp, "{ A1_OP_DEFVAL|A1_DV_UTF8STRING, ~0, (void *)\"%s\" }",
|
||||
quoted);
|
||||
|
Reference in New Issue
Block a user