summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-09-08 22:16:09 (GMT)
committer Jaromil <jaromil@dyne.org>2013-09-08 22:16:09 (GMT)
commitaa73398f752ced835d57e3012866512d55de252d (patch)
tree9142b0c8273c0ae42997c5f44b92f5c2b26fec67
parent45356e59cb19db42df01989f04d7763e5fd125df (diff)
seems that BSD has fixed this issue with dirent*
-rw-r--r--src/plugger.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugger.cpp b/src/plugger.cpp
index 718c01c..9ad267f 100644
--- a/src/plugger.cpp
+++ b/src/plugger.cpp
@@ -92,11 +92,7 @@ Plugger::~Plugger() {
}
-#if defined (HAVE_DARWIN) || defined (HAVE_FREEBSD)
-int selector(struct dirent *dir)
-#else
int selector(const struct dirent *dir)
-#endif
{
if(strstr(dir->d_name,".so")) return(1);
else if(strstr(dir->d_name,".frf")) return(1);