Browse Source

* BSD 1.0.x still uses st_ prefixes.

marco 22 years ago
parent
commit
86cdc8f4d1
1 changed files with 9 additions and 2 deletions
  1. 9 2
      compiler/globals.pas

+ 9 - 2
compiler/globals.pas

@@ -975,7 +975,11 @@ implementation
      {$ifdef hasunix}
      {$ifdef hasunix}
        {$IFDEF VER1_0}
        {$IFDEF VER1_0}
         FStat (F,Info);
         FStat (F,Info);
-        L:=Info.Mtime;
+        {$ifdef BSD} 
+ 	L:=Info.st_Mtime;
+ 	{$else}
+ 	L:=Info.Mtime;
+	{$endif}
        {$ELSE}
        {$ELSE}
         FPFStat (F,Info);
         FPFStat (F,Info);
 	L:=Info.st_Mtime;
 	L:=Info.st_Mtime;
@@ -1679,7 +1683,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.101  2003-09-16 16:17:01  peter
+  Revision 1.102  2003-09-18 15:38:17  marco
+   * BSD 1.0.x still uses st_ prefixes.
+
+  Revision 1.101  2003/09/16 16:17:01  peter
     * varspez in calls to push_addr_param
     * varspez in calls to push_addr_param
 
 
   Revision 1.100  2003/09/15 20:11:06  marco
   Revision 1.100  2003/09/15 20:11:06  marco