mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 13:11:24 +02:00
* 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:
parent
129fe92d9e
commit
f6d4f38bc0
@ -1127,6 +1127,7 @@ implementation
|
|||||||
}
|
}
|
||||||
if (target_info.system in [system_powerpc_darwin, system_powerpc_macos]) and
|
if (target_info.system in [system_powerpc_darwin, system_powerpc_macos]) and
|
||||||
is_first_field and
|
is_first_field and
|
||||||
|
(symtablestack.top.symtabletype = recordsymtable) and
|
||||||
(trecordsymtable(symtablestack.top).usefieldalignment = -1) then
|
(trecordsymtable(symtablestack.top).usefieldalignment = -1) then
|
||||||
begin
|
begin
|
||||||
tempdef := tt.def;
|
tempdef := tt.def;
|
||||||
|
Loading…
Reference in New Issue
Block a user