Steven Hartman wrote:
I have a number of EPICS 3.13 VxWorks device/drivers which I would like to
start using with EPICS 3.14, also with VxWorks. From the "Converting an
EPICS R3.13 application to R3.14.4" document, I see that the addition of
two lines is the minimum that is required.
I would like to be able to maintain the same source code for both the 3.13
and 3.14 apps. So, what I would like to be able to do is something like:
#ifdef EPICS3_14
#include <epicsExport.h>
. . .
epicsExportAddress(dset,devFoo);
#endif
My question is, Is there already an `official' identifier defined to use
for such preprocessor conditionals that I can use for this?
#include "epicsVersion.h"
Use the EPICS_VERSION and EPICS_REVISION symbols defined therein.
- Andrew
--
Podiabombastic: The tendency to shoot oneself in the foot.
- References:
- #ifdef EPICS3_14 Steven Hartman
- Navigate by Date:
- Prev:
#ifdef EPICS3_14 Steven Hartman
- Next:
Re: #ifdef EPICS3_14 David M. Kline
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
#ifdef EPICS3_14 Steven Hartman
- Next:
Re: #ifdef EPICS3_14 David M. Kline
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|