Changeset 884


Ignore:
Timestamp:
Jan 18, 2007 5:33:31 PM (14 years ago)
Author:
bennylp
Message:

Ticket #66: fix broken compilation with gcc 2.9x.x or older

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/cc_gcc.h

    r622 r884  
    3232#define PJ_CC_VER_1             __GNUC__ 
    3333#define PJ_CC_VER_2             __GNUC_MINOR__ 
    34 #define PJ_CC_VER_3             __GNUC_PATCHLEVEL__ 
     34 
     35/* __GNUC_PATCHLEVEL__ doesn't exist in gcc-2.9x.x */ 
     36#ifdef __GNUC_PATCHLEVEL__ 
     37#   define PJ_CC_VER_3          __GNUC_PATCHLEVEL__ 
     38#else 
     39#   define PJ_CC_VER_3          0 
     40#endif 
     41 
    3542 
    3643 
Note: See TracChangeset for help on using the changeset viewer.