Przeglądaj źródła

* _win64 fixes. Commctrl still has it but has now the correct define.
This was because commctrl was mostly developed using a specific
converter that was continously updated and rerun.
* nb30 simply replaced by "win64"

git-svn-id: trunk@44259 -

marco 5 lat temu
rodzic
commit
1b1df0c026

+ 1 - 1
packages/winunits-base/src/commctrl.pp

@@ -74,7 +74,7 @@ CONST CommCtrlDLL = 'comctl32.dll';
 {$define NTDDI_WIN7}
 
 {$ifdef win64}
-  {$define _win32}
+  {$define _win64}
 {$endif win64}
 
 {$DEFINE WIN32_WINNT=0}                     // NO XP

+ 1 - 1
packages/winunits-base/src/nb30.pp

@@ -37,7 +37,7 @@ Type
     ncb_post        : ncb_post_type;      { POST routine address        }
     ncb_lana_num    : UCHAR;              { lana (adapter) number          }
     ncb_cmd_cplt    : UCHAR;              { $ff => commmand pending       }
-{$ifdef _WIN64}
+{$ifdef WIN64}
     ncb_reserve     : array[0..17] of UCHAR; { reserved, used by BIOS         }
 {$else}
     ncb_reserve     : array[0..9] of UCHAR;  { reserved, used by BIOS         }