|
|
|
@ -48,17 +48,11 @@
|
|
|
|
|
#include <utility>
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
#include <sstream>
|
|
|
|
|
|
|
|
|
|
#ifdef EXV_HAVE_STDINT_H
|
|
|
|
|
# include <stdint.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// MSVC macro to convert a string to a wide string
|
|
|
|
|
#ifdef EXV_UNICODE_PATH
|
|
|
|
|
# define EXV_WIDEN(t) L ## t
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// MSVC doesn't provide C99 types, but it has MS specific variants
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
|
#elif defined(_MSC_VER)
|
|
|
|
|
// MSVC (before 2010) doesn't provide C99 types, but it has MS specific variants
|
|
|
|
|
typedef unsigned __int8 uint8_t;
|
|
|
|
|
typedef unsigned __int16 uint16_t;
|
|
|
|
|
typedef unsigned __int32 uint32_t;
|
|
|
|
@ -69,6 +63,11 @@ typedef __int32 int32_t;
|
|
|
|
|
typedef __int64 int64_t;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// MSVC macro to convert a string to a wide string
|
|
|
|
|
#ifdef EXV_UNICODE_PATH
|
|
|
|
|
# define EXV_WIDEN(t) L ## t
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
@brief Macro to make calls to member functions through a pointer more readable.
|
|
|
|
|
See the C++ FAQ LITE, item
|
|
|
|
|