[Pidgin] #14551: API 3.0.0: PURPLE_VERSION_CHECK(2, x,	0) returns FALSE
    Pidgin 
    trac at pidgin.im
       
    Fri Aug 26 07:06:25 EDT 2011
    
    
  
#14551: API 3.0.0: PURPLE_VERSION_CHECK(2,x,0) returns FALSE
-----------------------+----------------------------------------------------
 Reporter:  stefanb    |        Type:  patch 
   Status:  new        |   Milestone:  2.10.1
Component:  libpurple  |     Version:        
 Keywords:             |  
-----------------------+----------------------------------------------------
 Code that uses e.g.
   #if PURPLE_VERSION_CHECK(2,8,0)
   ...
   #endif
 to include code that should only be compiled in when libpurple API >=
 2.8.0 will fail with 3.0.0, because the macro returns false.
 The macro in version.h should be changed to read:
    #define PURPLE_VERSION_CHECK(x,y,z) (((x) < PURPLE_MAJOR_VERSION) ||
 <...the old definition> )
-- 
Ticket URL: <http://developer.pidgin.im/ticket/14551>
Pidgin <http://pidgin.im>
Pidgin
    
    
More information about the Tracker
mailing list