Browse Source

* Make sure TSystemTime is seen by fpdoc

git-svn-id: trunk@31035 -
michael 10 years ago
parent
commit
633c8c7118
1 changed files with 5 additions and 1 deletions
  1. 5 1
      rtl/objpas/sysutils/datih.inc

+ 5 - 1
rtl/objpas/sysutils/datih.inc

@@ -92,11 +92,15 @@ type
 { windows isn't defined in 2.0.2 (FK) }
 {$if not(defined(windows)) and not(defined(win32))}
    { Win32 reuses the struct from the Windows unit }
+{$DEFINE HAS_SYSTEMTIME}
+{$endif windows}
+
+{$IFNDEF HAS_SYSTEMTIME}
    TSystemTime = record
       Year, Month, Day, DayOfWeek: word;
       Hour, Minute, Second, MilliSecond: word;
    end ;
-{$endif windows}
+{$ENDIF}
 
    TTimeStamp = record
       Time: longint;   { Number of milliseconds since midnight }