Ignore:
Timestamp:
Jun 5, 2017 3:31:18 AM (7 years ago)
Author:
riza
Message:

Fixed #2019: Conflict with 'isblank' when using g++ 5.4.0. Thanks to Ken Mastro
for the report and suggested fix.

File:
1 edited

Legend:

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

    r3553 r5599  
    110110 *              tab ('\\t') character. 
    111111 */ 
    112 PJ_INLINE(int) pj_isblank(unsigned char c) { return isblank(c); } 
     112PJ_INLINE(int) pj_isblank(unsigned char c) { return (c==' ' || c=='\t'); } 
    113113 
    114114/** 
Note: See TracChangeset for help on using the changeset viewer.