On 19/02/15 01:10, Carsten Haitzler (The Rasterman) wrote: > On Tue, 17 Feb 2015 09:35:50 +0000 Tom Hacohen <tom.haco...@samsung.com> said: > >> On 16/02/15 21: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. >>> >>> Greetings, >> >> First of all, it needs to be &&, not || :P > > no the #if is right. :) if its greater than 1 (2, 3, 4) OR minor is greater > than OR equal to 14... > > the issue is the headers dont set minor to 14 yet. >
I know that's his issue, that's why I split my reply to two... Already replied about me overlooking the > thinking it was >=. :) -- Tom. ------------------------------------------------------------------------------ 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