Parcourir la source

* Remove double definition of O_LARGEFILE for powerpc-linux and give it
the correct value: $10000

git-svn-id: trunk@8123 -

daniel il y a 18 ans
Parent
commit
74ad03e264
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      rtl/linux/ostypes.inc

+ 4 - 4
rtl/linux/ostypes.inc

@@ -213,14 +213,14 @@ CONST
 {$if defined(cpusparc) or defined(cpusparc64)}
 {$if defined(cpusparc) or defined(cpusparc64)}
     O_LARGEFILE =   $40000;
     O_LARGEFILE =   $40000;
 {$endif}
 {$endif}
-{$if defined(cpui386) or defined(cpux86_64) or defined(cpupowerpc) or defined(cpuia64)}
+{$if defined(cpupowerpc)}
+    O_LARGEFILE =   $10000;
+{$endif}
+{$if defined(cpui386) or defined(cpux86_64) or defined(cpuia64)}
     O_LARGEFILE =    $8000;
     O_LARGEFILE =    $8000;
 {$endif}
 {$endif}
 {$if defined(cpumips)}
 {$if defined(cpumips)}
     O_LARGEFILE =    $2000;
     O_LARGEFILE =    $2000;
-{$endif}
-{$if defined(cpupowerpc)}
-    O_LARGEFILE =    $2000;
 {$endif}
 {$endif}
     { mode_t possible values                                 }
     { mode_t possible values                                 }
     S_IRUSR =  %0100000000;     { Read permission for owner   }
     S_IRUSR =  %0100000000;     { Read permission for owner   }