浏览代码

* Added win32platform

marco 23 年之前
父节点
当前提交
4b31f369d4
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      rtl/win32/sysutils.pp

+ 8 - 2
rtl/win32/sysutils.pp

@@ -30,6 +30,8 @@ uses
 {$i sysutilh.inc}
 {$i sysutilh.inc}
 
 
 
 
+Var Win32Platform : Longint;
+
 implementation
 implementation
 
 
 { Include platform independent implementation part }
 { Include platform independent implementation part }
@@ -636,6 +638,7 @@ Initialization
   GetVersionEx(versioninfo);
   GetVersionEx(versioninfo);
   kernel32dll:=0;
   kernel32dll:=0;
   GetDiskFreeSpaceEx:=nil;
   GetDiskFreeSpaceEx:=nil;
+  Win32Platform:=versionInfo.dwPlatformId;
   if ((versioninfo.dwPlatformId=VER_PLATFORM_WIN32_WINDOWS) and
   if ((versioninfo.dwPlatformId=VER_PLATFORM_WIN32_WINDOWS) and
     (versioninfo.dwBuildNUmber>=1000)) or
     (versioninfo.dwBuildNUmber>=1000)) or
     (versioninfo.dwPlatformId=VER_PLATFORM_WIN32_NT) then
     (versioninfo.dwPlatformId=VER_PLATFORM_WIN32_NT) then
@@ -652,7 +655,10 @@ Finalization
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.12  2002-01-25 16:23:04  peter
+  Revision 1.13  2002-03-24 19:26:49  marco
+   * Added win32platform
+
+  Revision 1.12  2002/01/25 16:23:04  peter
     * merged filesearch() fix
     * merged filesearch() fix
 
 
   Revision 1.11  2001/12/11 23:10:18  carl
   Revision 1.11  2001/12/11 23:10:18  carl
@@ -695,4 +701,4 @@ end.
   Revision 1.1.2.1  2000/08/20 15:08:32  peter
   Revision 1.1.2.1  2000/08/20 15:08:32  peter
     * forgot the add command :(
     * forgot the add command :(
 
 
-}
+}