Ignore:
Timestamp:
Feb 21, 2006 11:40:16 PM (19 years ago)
Author:
bennylp
Message:

Added pj_ansi/native/unicode_snprintf, and added comment in errno.h

File:
1 edited

Legend:

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

    r198 r206  
    4343#  endif 
    4444#  define snprintf      _snprintf 
     45#  define snwprintf     _snwprintf 
    4546#  define wcsicmp       _wcsicmp 
    4647#  define wcsnicmp      _wcsnicmp 
     
    6768#define pj_ansi_strnicmp        strncasecmp 
    6869#define pj_ansi_sprintf         sprintf 
     70#define pj_ansi_snprintf        snprintf 
    6971 
    7072#define pj_unicode_strcmp       wcscmp 
     
    8082#define pj_unicode_strnicmp     wcsnicmp 
    8183#define pj_unicode_sprintf      swprintf 
     84#define pj_unicode_snprintf     snwprintf 
    8285 
    8386 
     
    9598#   define pj_native_strnicmp       pj_unicode_strnicmp 
    9699#   define pj_native_sprintf        pj_unicode_sprintf 
     100#   define pj_native_snprintf       pj_unicode_snprintf 
    97101#else 
    98102#   define pj_native_strcmp         pj_ansi_strcmp 
     
    108112#   define pj_native_strnicmp       pj_ansi_strnicmp 
    109113#   define pj_native_sprintf        pj_ansi_sprintf 
     114#   define pj_native_snprintf       pj_ansi_snprintf 
    110115#endif 
    111116 
Note: See TracChangeset for help on using the changeset viewer.