[OGo-Evolution] Compile error

Helge Hess evolution@opengroupware.org
Tue, 29 Aug 2006 16:03:43 +0200


On Aug 29, 2006, at 16:01, Shreyas Srinivasan wrote:
> Replace set_default_zone_sync with set_default_timezone_sync and it  
> should
> work. This api is deprecated for the 1.8 release which is like in  
> 20 days. So i
> am not sure whats the best way to deal with it, for now i am making  
> it work
> with the bleeding version, but that one change should get it to  
> work with other
> versions too.

Can't you do a simple

#if evo_major >= 1 && evo_minor > 6
...
#else
...
#endif

? Sounds like an easy to solve issue? :-)

Greets,
   Helge
-- 
Helge Hess
http://docs.opengroupware.org/Members/helge/