aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralcoheca <alcoheca@svn>2010-01-16 19:28:55 +0000
committeralcoheca <alcoheca@svn>2010-01-16 19:28:55 +0000
commit94905040429b6ae717a0b8d8969a7c3b7a62ce02 (patch)
tree0ab170b77e9a436987209e5f51cc75f8a27ca47a
parent0358a8571a70781352854b4ed4004eac94c04ea4 (diff)
fixed: projectM must use readdir64 for some reason. fixes #8539
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26917 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.cpp b/xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.cpp
index 8848e04b2f..6c9012dca9 100644
--- a/xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.cpp
+++ b/xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.cpp
@@ -77,11 +77,11 @@ void PresetLoader::rescan()
return; // no files loaded. m_entries is empty
}
- struct dirent * dir_entry;
+ struct dirent64 * dir_entry;
std::set<std::string> alphaSortedFileSet;
std::set<std::string> alphaSortedPresetNameSet;
- while ((dir_entry = readdir(m_dir)) != NULL)
+ while ((dir_entry = readdir64(m_dir)) != NULL)
{
std::ostringstream out;