aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFneufneu <fneufneu@xbmc.org>2011-01-31 18:41:28 +0100
committerspiff <spiff@xbmc.org>2011-05-10 17:59:15 +0200
commit5b1032a2993ecd8e91bae1719f6ad7b3c4337d87 (patch)
tree56b383f95bd5bccf5d70377636225268ffb01b24
parentee5d24cc2a052bea66384b457c6f48bd70fea962 (diff)
FreeBSD does not have sysinfo
-rw-r--r--xbmc/guilib/TextureBundleXPR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/TextureBundleXPR.cpp b/xbmc/guilib/TextureBundleXPR.cpp
index 50ebe946ae..d6df822a99 100644
--- a/xbmc/guilib/TextureBundleXPR.cpp
+++ b/xbmc/guilib/TextureBundleXPR.cpp
@@ -283,7 +283,7 @@ bool CTextureBundleXPR::LoadFile(const CStdString& Filename, CAutoTexBuffer& Unp
GlobalMemoryStatus(&stat);
CLog::Log(LOGERROR, "Out of memory loading texture: %s (need %lu bytes, have %lu bytes)", name.c_str(),
file->second.UnpackedSize + file->second.PackedSize, stat.dwAvailPhys);
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) || defined(__FreeBSD__)
CLog::Log(LOGERROR, "Out of memory loading texture: %s (need %d bytes)", name.c_str(),
file->second.UnpackedSize + file->second.PackedSize);
#else