mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Add WUFFS_BASE__MAYBE_ATTRIBUTE_TARGET
This commit is contained in:
1 parent
073d3e0150
commit
9914f7314d
6 files changed
+83
-65
No files matched your search
@@ -239,7 +239,7 @@ func (g *gen) writeFuncImpl(b *buffer, n *a.Func) error {
|
||||
b.printf("#if defined(WUFFS_BASE__CPU_ARCH__%s)\n", caMacro)
|
||||
}
|
||||
if caAttribute != "" {
|
||||
b.printf("#if defined(__GNUC__)\n%s\n#endif\n", caAttribute)
|
||||
b.printf("%s\n", caAttribute)
|
||||
}
|
||||
|
||||
if err := g.writeFuncSignature(b, n, wfsCDecl); err != nil {
|
||||
|
||||
Reference in new issue
Block a user