mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Removed TAGLIB_HAVE_STD_WSTRING macro that affects the public ABI
This commit is contained in:
parent
198530547d
commit
03adafbfd9
@ -39,16 +39,6 @@ else()
|
||||
set(SYSTEM_BYTEORDER 2)
|
||||
endif()
|
||||
|
||||
# Determine if your compiler supports std::wstring.
|
||||
|
||||
check_cxx_source_compiles("
|
||||
#include <string>
|
||||
int main() {
|
||||
std::wstring x(L\"ABC\");
|
||||
return 0;
|
||||
}
|
||||
" TAGLIB_HAVE_STD_WSTRING)
|
||||
|
||||
# Determine which kind of atomic operations your compiler supports.
|
||||
|
||||
check_cxx_source_compiles("
|
||||
|
@ -1,8 +1,5 @@
|
||||
/* taglib_config.h. Generated by cmake from taglib_config.h.cmake */
|
||||
|
||||
/* Defined if your compiler supports std::wstring */
|
||||
#cmakedefine TAGLIB_HAVE_STD_WSTRING 1
|
||||
|
||||
#define TAGLIB_WITH_ASF 1
|
||||
#define TAGLIB_WITH_MP4 1
|
||||
|
||||
|
@ -73,11 +73,7 @@ namespace TagLib {
|
||||
* Unfortunately std::wstring isn't defined on some systems, (i.e. GCC < 3)
|
||||
* so I'm providing something here that should be constant.
|
||||
*/
|
||||
#ifdef TAGLIB_HAVE_STD_WSTRING
|
||||
typedef std::wstring wstring;
|
||||
#else
|
||||
typedef std::basic_string<wchar> wstring;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -102,4 +102,4 @@ namespace TagLib
|
||||
{
|
||||
return d->count();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -54,4 +54,4 @@ namespace TagLib
|
||||
}
|
||||
|
||||
#endif // DO_NOT_DOCUMENT
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user