typo
This commit is contained in:
parent
047d3af6da
commit
474dd98125
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ proc genRecordFieldsAux(m: BModule, n: PNode,
|
||||||
unionBody.add("struct {")
|
unionBody.add("struct {")
|
||||||
else:
|
else:
|
||||||
if hasAttribute in CC[m.config.cCompiler].props:
|
if hasAttribute in CC[m.config.cCompiler].props:
|
||||||
unionBody.add("struct __attribute__((__packed__)){" )
|
unionBody.add("struct __attribute__((__packed__)){")
|
||||||
else:
|
else:
|
||||||
unionBody.addf("#pragma pack(push, 1)$nstruct{", [])
|
unionBody.addf("#pragma pack(push, 1)$nstruct{", [])
|
||||||
unionBody.add(a)
|
unionBody.add(a)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue