From adf28d87aac0be1f21a38e5c5e720cae281989ce Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 21 Mar 2020 08:39:45 -0700 Subject: Remove the check for stat() It's POSIX-2001 standard --- alc/backends/oss.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'alc/backends/oss.cpp') diff --git a/alc/backends/oss.cpp b/alc/backends/oss.cpp index ad1df7d6..a24744c2 100644 --- a/alc/backends/oss.cpp +++ b/alc/backends/oss.cpp @@ -674,10 +674,8 @@ void OSSBackendFactory::probe(DevProbe type, std::string *outnames) { auto add_device = [outnames](const DevMap &entry) -> void { -#ifdef HAVE_STAT struct stat buf; if(stat(entry.device_name.c_str(), &buf) == 0) -#endif { /* Includes null char. */ outnames->append(entry.name.c_str(), entry.name.length()+1); -- cgit v1.2.3