UriBase.h | UriBase.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
#ifndef URI_BASE_H | #ifndef URI_BASE_H | |||
#define URI_BASE_H 1 | #define URI_BASE_H 1 | |||
/* Version helper macro */ | /* Version helper macro */ | |||
#define URI_ANSI_TO_UNICODE(x) L##x | #define URI_ANSI_TO_UNICODE(x) L##x | |||
/* Version */ | /* Version */ | |||
#define URI_VER_MAJOR 0 | #define URI_VER_MAJOR 0 | |||
#define URI_VER_MINOR 7 | #define URI_VER_MINOR 7 | |||
#define URI_VER_RELEASE 2 | #define URI_VER_RELEASE 3 | |||
#define URI_VER_SUFFIX_ANSI "" | #define URI_VER_SUFFIX_ANSI "" | |||
#define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI) | #define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI) | |||
/* More version helper macros */ | /* More version helper macros */ | |||
#define URI_INT_TO_ANSI_HELPER(x) #x | #define URI_INT_TO_ANSI_HELPER(x) #x | |||
#define URI_INT_TO_ANSI(x) URI_INT_TO_ANSI_HELPER(x) | #define URI_INT_TO_ANSI(x) URI_INT_TO_ANSI_HELPER(x) | |||
#define URI_INT_TO_UNICODE_HELPER(x) URI_ANSI_TO_UNICODE(#x) | #define URI_INT_TO_UNICODE_HELPER(x) URI_ANSI_TO_UNICODE(#x) | |||
#define URI_INT_TO_UNICODE(x) URI_INT_TO_UNICODE_HELPER(x) | #define URI_INT_TO_UNICODE(x) URI_INT_TO_UNICODE_HELPER(x) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
UriDefsAnsi.h | UriDefsAnsi.h | |||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
#undef URI_STRLEN | #undef URI_STRLEN | |||
#define URI_STRLEN strlen | #define URI_STRLEN strlen | |||
#undef URI_STRCPY | #undef URI_STRCPY | |||
#define URI_STRCPY strcpy | #define URI_STRCPY strcpy | |||
#undef URI_STRCMP | #undef URI_STRCMP | |||
#define URI_STRCMP strcmp | #define URI_STRCMP strcmp | |||
#undef URI_STRNCMP | #undef URI_STRNCMP | |||
#define URI_STRNCMP strncmp | #define URI_STRNCMP strncmp | |||
/* TODO Remove on next source-compatibility break */ | ||||
#undef URI_SNPRINTF | #undef URI_SNPRINTF | |||
#if (defined(__WIN32__) || defined(_WIN32) || defined(WIN32)) | #if (defined(__WIN32__) || defined(_WIN32) || defined(WIN32)) | |||
# define URI_SNPRINTF _snprintf | # define URI_SNPRINTF _snprintf | |||
#else | #else | |||
# define URI_SNPRINTF snprintf | # define URI_SNPRINTF snprintf | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
UriDefsUnicode.h | UriDefsUnicode.h | |||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
#undef URI_STRLEN | #undef URI_STRLEN | |||
#define URI_STRLEN wcslen | #define URI_STRLEN wcslen | |||
#undef URI_STRCPY | #undef URI_STRCPY | |||
#define URI_STRCPY wcscpy | #define URI_STRCPY wcscpy | |||
#undef URI_STRCMP | #undef URI_STRCMP | |||
#define URI_STRCMP wcscmp | #define URI_STRCMP wcscmp | |||
#undef URI_STRNCMP | #undef URI_STRNCMP | |||
#define URI_STRNCMP wcsncmp | #define URI_STRNCMP wcsncmp | |||
/* TODO Remove on next source-compatibility break */ | ||||
#undef URI_SNPRINTF | #undef URI_SNPRINTF | |||
#if (defined(__WIN32__) || defined(_WIN32) || defined(WIN32)) | #if (defined(__WIN32__) || defined(_WIN32) || defined(WIN32)) | |||
# define URI_SNPRINTF _snwprintf | # define URI_SNPRINTF _snwprintf | |||
#else | #else | |||
# define URI_SNPRINTF swprintf | # define URI_SNPRINTF swprintf | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||