aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/solaris.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-21 08:39:45 -0700
committerChris Robinson <[email protected]>2020-03-21 08:39:45 -0700
commitadf28d87aac0be1f21a38e5c5e720cae281989ce (patch)
treede2fcf62776b983215bd24233d5db8d186a4398d /alc/backends/solaris.cpp
parent12775513ae666b0433e63b82b80de87019770b35 (diff)
Remove the check for stat()
It's POSIX-2001 standard
Diffstat (limited to 'alc/backends/solaris.cpp')
-rw-r--r--alc/backends/solaris.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/alc/backends/solaris.cpp b/alc/backends/solaris.cpp
index d292c012..93ab64cb 100644
--- a/alc/backends/solaris.cpp
+++ b/alc/backends/solaris.cpp
@@ -276,10 +276,8 @@ void SolarisBackendFactory::probe(DevProbe type, std::string *outnames)
{
case DevProbe::Playback:
{
-#ifdef HAVE_STAT
struct stat buf;
if(stat(solaris_driver.c_str(), &buf) == 0)
-#endif
outnames->append(solaris_device, sizeof(solaris_device));
}
break;