FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour hbmk2 and #ifdef
Posts: 392
Joined: Tue Mar 10, 2009 11:54 AM
hbmk2 and #ifdef
Posted: Sat Jun 03, 2023 07:26 AM
trying to switch from xHarbour to Harbour

Have a lot of
Code (fw): Select all Collapse
#ifdef __NOXHBCOM__
    ... 
#endif
in my source prg.

How do I configure go.bat/hbmk2.hbp so that conditional compilation respects '__NOXHBCOM__'?
Windows 11 Pro 22H2 22621.1848

Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Harbour 3.2.0dev (r2008190002)

FWH 23.10 x86
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 and #ifdef
Posted: Sat Jun 03, 2023 07:28 AM

Add -D__NOXHBCOM__ inside hbmk2.hbp

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 392
Joined: Tue Mar 10, 2009 11:54 AM
Re: hbmk2 and #ifdef
Posted: Sat Jun 03, 2023 08:09 AM
:D
Windows 11 Pro 22H2 22621.1848

Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Harbour 3.2.0dev (r2008190002)

FWH 23.10 x86

Continue the discussion