Assembler macros vs C macros
- From: "Pretissimo2002" <pretissimo2002@xxxxxxxx>
- Date: 8 Sep 2006 08:59:58 -0700
In our PB5.0 workspace file "HWVERSION" is the variable
(Platform->Settings, Environment) that determines our platform hardware
version. It is set in the workspace file (.PXML) and is picked up by
our sources.cmn file who transformes it in a C macro like this:
!IF "$(HWVERSION )" == "1"
CDEFINES= $(CDEFINES) -DHWVERSION1
!ELSE
CDEFINES= $(CDEFINES) -DHWVERSION2
!ENDIF
Question: is it possible to pick up this C macro in an assembler
include file (.INC)?
This would give us the advantage of using only one define for assembler
AND C code.
Thank you,
Wesley
.
- Follow-Ups:
- Re: Assembler macros vs C macros
- From: Dean Ramsier
- Re: Assembler macros vs C macros
- Prev by Date: How to know that Application Verifier has detected true memory leaks?
- Next by Date: Re: OAL logging library
- Previous by thread: How to know that Application Verifier has detected true memory leaks?
- Next by thread: Re: Assembler macros vs C macros
- Index(es):
Relevant Pages
|