[BACK]Return to patch-src_system_utility_FileUtility_cpp CVS log [TXT][DIR] Up to [local] / ports / games / violetland / patches

File: [local] / ports / games / violetland / patches / Attic / patch-src_system_utility_FileUtility_cpp (download)

Revision 1.1, Sun Jun 26 19:03:02 2011 UTC (13 years ago) by yason
Branch: MAIN
CVS Tags: violetland-0_4_2

fix saving highscores and finding game data

$OpenBSD$
--- src/system/utility/FileUtility.cpp.orig	Sun Jun 26 23:51:45 2011
+++ src/system/utility/FileUtility.cpp	Sun Jun 26 23:52:25 2011
@@ -65,7 +65,7 @@ FileUtility::FileUtility(char *argPath) {
 	m_resPath = m_appPath;
 	m_usrPath = m_resPath;
 #endif //_WIN32
-#if defined linux || defined __FreeBSD__
+#if defined linux || defined __FreeBSD__ || defined __OpenBSD__
 #ifndef INSTALL_PREFIX
 #define INSTALL_PREFIX "/usr/local";
 #endif //INSTALL_PREFIX