ssbbs 站台管理者(Site Admin)
Joined: 18 Apr 2005 Posts: 60 Location: 台灣。台中市
|
Posted: 20051104, 2005 21:13 Post subject: FWH 2.5/2.6 & xHarbour CVS solution. |
|
|
最後版本的 xHarbour CVS 與 FWH 2.5/2.6 的相容性解決方法:
1).
include\hbdefs.h
Replace
typedef UINT32 HB_TYPE;
with
typedef USHORT HB_TYPE;
2).
include\thread.hReplace
#define HB_VM_STACK hb_stackST
with
#define HB_VM_STACK hb_stack
3).
include\hbstack.h
Replace
extern HB_STACK hb_stackST;
with
extern HB_STACK hb_stack;
4).
source\vm\hvm.c
Add at the beginning
#define hb_stackST hb_stack
5).
source\vm\estack.c
Replace
HB_STACK hb_stackST;
with
HB_STACK hb_stack;
#define hb_stackST hb_stack
6).( for FWH 2.4 only, not necessary for FWH 2.5 )
include\hbvmpub.h
replace
HB_COUNTER ulHolders;
with
USHORT ulHolders; |
|