Ignore:
Timestamp:
Mar 18, 2006 12:26:55 PM (18 years ago)
Author:
bennylp
Message:

Added option to disable error message altogether, to save space footprint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_error_win32.c

    r315 r330  
    3434 * From Apache's APR: 
    3535 */ 
     36#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING!=0) 
     37 
    3638static const struct { 
    3739    pj_os_err_type code; 
     
    8991    {0,                  NULL} 
    9092}; 
     93 
     94#endif  /* PJ_HAS_ERROR_STRING */ 
     95 
    9196 
    9297 
     
    156161 
    157162    if (!len) { 
     163 
     164#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING!=0) 
    158165        int i; 
    159166        for (i = 0; gaErrorList[i].msg; ++i) { 
     
    168175            } 
    169176        } 
     177#endif  /* PJ_HAS_ERROR_STRING */ 
    170178 
    171179    } else { 
Note: See TracChangeset for help on using the changeset viewer.