hbmk2 and #ifdef

hbmk2 and #ifdef

Postby frose » Sat Jun 03, 2023 7:26 am

trying to switch from xHarbour to Harbour

Have a lot of
Code: Select all  Expand view
#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
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: hbmk2 and #ifdef

Postby Antonio Linares » Sat Jun 03, 2023 7:28 am

Add -D__NOXHBCOM__ inside hbmk2.hbp
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: hbmk2 and #ifdef

Postby frose » Sat Jun 03, 2023 8: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
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 88 guests