mirror of
https://github.com/taglib/taglib.git
synced 2025-07-20 22:14:22 -04:00
Uses ISO _strdup() instead of POSIX strdup() if possible
This commit is contained in:
@ -238,6 +238,16 @@ if(NOT HAVE_SNPRINTF)
|
||||
" HAVE_SPRINTF_S)
|
||||
endif()
|
||||
|
||||
# Check which your compiler supports ISO _strdup.
|
||||
|
||||
check_cxx_source_compiles("
|
||||
#include <cstring>
|
||||
int main() {
|
||||
_strdup(0);
|
||||
return 0;
|
||||
}
|
||||
" HAVE_ISO_STRDUP)
|
||||
|
||||
# Determine whether your compiler supports codecvt.
|
||||
|
||||
check_cxx_source_compiles("
|
||||
|
Reference in New Issue
Block a user