+ Fixed bootstrap problem for resources

git-svn-id: trunk@1013 -
This commit is contained in:
michael 2005-09-01 16:57:03 +00:00
parent 6af1b74202
commit 7184d30fc1
2 changed files with 5 additions and 0 deletions

View File

@ -1829,6 +1829,7 @@ begin
def_system_macro('FPC_HAS_TYPE_EXTENDED');
def_system_macro('FPC_HAS_TYPE_DOUBLE');
def_system_macro('FPC_HAS_TYPE_SINGLE');
def_system_macro('FPC_HAS_RESOURCES');
{$endif}
{$ifdef m68k}
def_system_macro('CPU68K');

View File

@ -41,7 +41,11 @@ type
Var
InitRes : Boolean = False;
{$ifdef FPC_HAS_RESOURCES}
FPCResourceSectionLocation : pFPCResourceSectionTable; external name 'FPC_RESLOCATION';
{$else}
FPCResourceSectionLocation : pFPCResourceSectionTable = Nil;
{$endif}
FPCRuntimeResourceInfoArray : PFPCRuntimeResourceInfo;
ResInfoCount : Cardinal;