On 15-02-16 22:38, Boris Faure wrote: > Hi fellow developers, > > I want to add to an api in the efl. It is not important to know what it > is about but I want to use it in terminology. It should be included in > efl-1.14 if everything goes according to my plan. In terminology, I've > got the following: > #if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 14) > [code that uses that new api] > #endif > I modified my efl source code with that new api and installed it. But > the current efl version is 1.13.99 since we're in dev mode. My '#if' in > terminology does not apply here. I can not test for 1.13.99 using > EFL_VERSION* because EFL_VERSION_MICRO is not defined. > > What is the correct way to handle that situation? > Having EFL_VERSION_MINOR >= 13 is not acceptable as I am sure I will > forget to change it.
I handle the situation by having configure check the availability of that function. -- Boris Faure Pointer Arithmetician
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel