From 7671268bc3a4d341035de5cf4c10519831e967b2 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 3 Jan 2018 18:05:19 +0100 Subject: [PATCH] strlen is not a member of std. --- libs/backends/coreaudio/coreaudio_pcmio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/backends/coreaudio/coreaudio_pcmio.cc b/libs/backends/coreaudio/coreaudio_pcmio.cc index 480fa6f424..971e2fac3c 100644 --- a/libs/backends/coreaudio/coreaudio_pcmio.cc +++ b/libs/backends/coreaudio/coreaudio_pcmio.cc @@ -1067,7 +1067,7 @@ CoreAudioPCM::cache_port_names(AudioDeviceID id, bool input) ss << (c + 1); - if (cstr_name && decoded && (0 != std::strlen(cstr_name) ) ) { + if (cstr_name && decoded && (0 != ::strlen(cstr_name) ) ) { ss << " - " << cstr_name; } #if 0