SYS_BASE_PATH
This commit is contained in:
@@ -66,12 +66,13 @@ RageLog* LOG; // global and accessable from anywhere in the program
|
|||||||
map<CString, CString> LogMaps;
|
map<CString, CString> LogMaps;
|
||||||
|
|
||||||
// constants
|
// constants
|
||||||
|
/* We need to use SYS_BASE_PATH here, because this doesn't go through RageFile. */
|
||||||
#if defined(DARWIN)
|
#if defined(DARWIN)
|
||||||
#define LOG_PATH "../../../log.txt"
|
#define LOG_PATH "../../../log.txt"
|
||||||
#define INFO_PATH "../../../info.txt"
|
#define INFO_PATH "../../../info.txt"
|
||||||
#else
|
#else
|
||||||
#define LOG_PATH BASE_PATH "log.txt"
|
#define LOG_PATH SYS_BASE_PATH "log.txt"
|
||||||
#define INFO_PATH BASE_PATH "info.txt"
|
#define INFO_PATH SYS_BASE_PATH "info.txt"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_VERSION_INFO)
|
#if defined(HAVE_VERSION_INFO)
|
||||||
|
|||||||
Reference in New Issue
Block a user