Browse Source

* OS/2 fix - datih.inc moved to the beginning

Tomas Hajny 25 years ago
parent
commit
1362a25184
1 changed files with 9 additions and 4 deletions
  1. 9 4
      rtl/objpas/sysutilh.inc

+ 9 - 4
rtl/objpas/sysutilh.inc

@@ -15,6 +15,11 @@
  **********************************************************************}
  **********************************************************************}
 
 
 
 
+  { Read date & Time function declarations }
+(* This must be placed before other functions, because TDateTime from DosCalls
+   would be used under OS/2 instead of that one from datih.inc otherwise. *)
+  {$i datih.inc}
+
   { Read String Handling functions declaration }
   { Read String Handling functions declaration }
   {$i sysstrh.inc}
   {$i sysstrh.inc}
 
 
@@ -115,9 +120,6 @@ Var
   { Read internationalization settings }
   { Read internationalization settings }
   {$i sysinth.inc}
   {$i sysinth.inc}
 
 
-  { Read date & Time function declarations }
-  {$i datih.inc}
-
   { Read pchar handling functions declration }
   { Read pchar handling functions declration }
   {$i syspchh.inc}
   {$i syspchh.inc}
 
 
@@ -132,7 +134,10 @@ Var
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.3  2000-08-29 17:56:32  michael
+  Revision 1.4  2000-08-30 18:29:34  hajny
+    * OS/2 fix - datih.inc moved to the beginning
+
+  Revision 1.3  2000/08/29 17:56:32  michael
   Merged syserrormsg fix
   Merged syserrormsg fix
 
 
   Revision 1.2  2000/08/20 15:46:46  peter
   Revision 1.2  2000/08/20 15:46:46  peter