From 94905040429b6ae717a0b8d8969a7c3b7a62ce02 Mon Sep 17 00:00:00 2001 From: alcoheca Date: Sat, 16 Jan 2010 19:28:55 +0000 Subject: 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 --- xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.cpp | 4 ++-- 1 file 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 alphaSortedFileSet; std::set alphaSortedPresetNameSet; - while ((dir_entry = readdir(m_dir)) != NULL) + while ((dir_entry = readdir64(m_dir)) != NULL) { std::ostringstream out; -- cgit v1.2.3