|
@@ -836,6 +836,11 @@ implementation
|
|
|
Replace(s,'$FPCTARGET',target_full_string);
|
|
|
Replace(s,'$SUBARCH',lower(cputypestr[init_settings.cputype]));
|
|
|
Replace(s,'$FPCABI',lower(abiinfo[target_info.abi].name));
|
|
|
+{$ifdef i8086}
|
|
|
+ Replace(s,'$FPCMEMORYMODEL',lower(x86memorymodelstr[init_settings.x86memorymodel]));
|
|
|
+{$else i8086}
|
|
|
+ Replace(s,'$FPCMEMORYMODEL','flat');
|
|
|
+{$endif i8086}
|
|
|
{$ifdef mswindows}
|
|
|
ReplaceSpecialFolder('$LOCAL_APPDATA',CSIDL_LOCAL_APPDATA);
|
|
|
ReplaceSpecialFolder('$APPDATA',CSIDL_APPDATA);
|