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 {")
|
||||
else:
|
||||
if hasAttribute in CC[m.config.cCompiler].props:
|
||||
unionBody.add("struct __attribute__((__packed__)){" )
|
||||
unionBody.add("struct __attribute__((__packed__)){")
|
||||
else:
|
||||
unionBody.addf("#pragma pack(push, 1)$nstruct{", [])
|
||||
unionBody.add(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue