strlen is not a member of std.
authorRobin Gareus <robin@gareus.org>
Wed, 3 Jan 2018 17:05:19 +0000 (18:05 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 3 Jan 2018 17:06:55 +0000 (18:06 +0100)
libs/backends/coreaudio/coreaudio_pcmio.cc

index 480fa6f4243842f59c03fdf9963fe714e0cc5e78..971e2fac3c210c674970e5eea55c43cc591624d0 100644 (file)
@@ -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