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 8 | #define URI_VER_MINOR 8 | |||
#define URI_VER_RELEASE 1 | #define URI_VER_RELEASE 2 | |||
#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 | |||
UriDefsConfig.h | UriDefsConfig.h | |||
---|---|---|---|---|
skipping to change at line 85 | skipping to change at line 85 | |||
#elif defined(__INTEL_COMPILER) | #elif defined(__INTEL_COMPILER) | |||
/* Intel C/C++ */ | /* Intel C/C++ */ | |||
/* http://predef.sourceforge.net/precomp.html#sec20 */ | /* http://predef.sourceforge.net/precomp.html#sec20 */ | |||
/* http://www.intel.com/support/performancetools/c/windows/sb/CS-007751.htm #2 */ | /* http://www.intel.com/support/performancetools/c/windows/sb/CS-007751.htm #2 */ | |||
# define URI_INLINE __force_inline | # define URI_INLINE __force_inline | |||
#elif defined(_MSC_VER) | #elif defined(_MSC_VER) | |||
/* Microsoft Visual C++ */ | /* Microsoft Visual C++ */ | |||
/* http://predef.sourceforge.net/precomp.html#sec32 */ | /* http://predef.sourceforge.net/precomp.html#sec32 */ | |||
/* http://msdn2.microsoft.com/en-us/library/ms882281.aspx */ | /* http://msdn2.microsoft.com/en-us/library/ms882281.aspx */ | |||
# define URI_INLINE __forceinline | # define URI_INLINE __forceinline | |||
#elif (__GNUC__ >= 4) | ||||
/* GCC C/C++ 4.x.x */ | ||||
/* http://predef.sourceforge.net/precomp.html#sec13 */ | ||||
# define URI_INLINE __attribute__((always_inline)) | ||||
#elif (__STDC_VERSION__ >= 199901L) | #elif (__STDC_VERSION__ >= 199901L) | |||
/* C99, "inline" is a keyword */ | /* C99, "inline" is a keyword */ | |||
# define URI_INLINE inline | # define URI_INLINE inline | |||
#else | #else | |||
/* No inlining */ | /* No inlining */ | |||
# define URI_INLINE | # define URI_INLINE | |||
#endif | #endif | |||
#endif /* URI_DEFS_CONFIG_H */ | #endif /* URI_DEFS_CONFIG_H */ | |||
End of changes. 1 change blocks. | ||||
4 lines changed or deleted | 0 lines changed or added | |||