aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/oss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/oss.cpp')
-rw-r--r--alc/backends/oss.cpp2
1 files changed, 0 insertions, 2 deletions
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);