Răsfoiți Sursa

* fixed compilation of embedded system unit

git-svn-id: trunk@11559 -
florian 17 ani în urmă
părinte
comite
27ff21f00e
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  1. 5 1
      rtl/embedded/system.pp

+ 5 - 1
rtl/embedded/system.pp

@@ -28,9 +28,9 @@ Unit System;
 
 
 {$I systemh.inc}
 {$I systemh.inc}
 
 
+const
 {
 {
   fix me
   fix me
-const
  LineEnding = #10;
  LineEnding = #10;
  LFNSupport = true;
  LFNSupport = true;
  DirectorySeparator = '/';
  DirectorySeparator = '/';
@@ -40,7 +40,11 @@ const
   AllowDirectorySeparators : set of char = ['\','/'];
   AllowDirectorySeparators : set of char = ['\','/'];
   AllowDriveSeparators : set of char = [':'];
   AllowDriveSeparators : set of char = [':'];
 { FileNameCaseSensitive is defined below! }
 { FileNameCaseSensitive is defined below! }
+}
+{$ifdef FPC_HAS_FEATURE_EXITCODE}
  maxExitCode = 255;
  maxExitCode = 255;
+{$endif FPC_HAS_FEATURE_EXITCODE}
+{
  MaxPathLen = 1024; // BSDs since 1993, Solaris 10, Darwin
  MaxPathLen = 1024; // BSDs since 1993, Solaris 10, Darwin
  AllFilesMask = '*';
  AllFilesMask = '*';