mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 05:29:08 +02:00
Fix usage of external resources on systems besides Darwin by moving the variable referencing FPC_RESLOCATION fon non-indirect entry information systems from system.inc back into intres.inc
git-svn-id: trunk@33984 -
This commit is contained in:
parent
a72434e93a
commit
25c4a5c986
@ -34,7 +34,12 @@ type
|
||||
|
||||
var
|
||||
{$ifdef FPC_HAS_WINLIKERESOURCES}
|
||||
{$ifdef FPC_HAS_INDIRECT_ENTRY_INFORMATION}
|
||||
ResHeader : PPResHdr; external name '_FPC_ResLocation';
|
||||
{$else}
|
||||
ResHeaderVar: PResHdr; external name 'FPC_RESLOCATION';
|
||||
ResHeader : PPResHdr = @ResHeaderVar;
|
||||
{$endif}
|
||||
{$else}
|
||||
ResHeaderVar : PResHdr = nil;
|
||||
ResHeader : PPResHdr= @ResHeaderVar;
|
||||
|
@ -119,12 +119,6 @@ var
|
||||
{$endif FPC_HAS_RESSTRINITS}
|
||||
FPCResourceStringTablesVar : record end; External Name 'FPC_RESOURCESTRINGTABLES';
|
||||
FPCResourceStringTables : Pointer = @FPCResourceStringTablesVar;public name '_FPC_ResourceStringTables';
|
||||
{$if defined(FPC_HAS_WINLIKERESOURCES) and not defined(WINDOWS)}
|
||||
FPCResLocationVar: record end; external name 'FPC_RESLOCATION';
|
||||
{$else FPC_HAS_WINLIKERESOURCES and not WINDOWS}
|
||||
FPCResLocationVar : Pointer = Nil;
|
||||
{$endif FPC_HAS_WINLIKERESOURCES and not WINDOWS}
|
||||
FPCResLocation : Pointer = @FPCResLocationVar;public name '_FPC_ResLocation';
|
||||
{$endif FPC_HAS_INDIRECT_ENTRY_INFORMATION}
|
||||
|
||||
{$ifdef FPC_HAS_INDIRECT_ENTRY_INFORMATION}
|
||||
|
Loading…
Reference in New Issue
Block a user