* fixed setting of alignment of C records for darwin (only do it for

records, not for objects)

git-svn-id: trunk@3752 -
This commit is contained in:
Jonas Maebe 2006-05-31 11:02:42 +00:00
parent 129fe92d9e
commit f6d4f38bc0

View File

@ -1127,6 +1127,7 @@ implementation
}
if (target_info.system in [system_powerpc_darwin, system_powerpc_macos]) and
is_first_field and
(symtablestack.top.symtabletype = recordsymtable) and
(trecordsymtable(symtablestack.top).usefieldalignment = -1) then
begin
tempdef := tt.def;