Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle data on FreeBSD and DragonFly just like on Linux
Actually, I'd use this as generic case instead of "Unsupported operating
system" branch
  • Loading branch information
AMDmi3 committed Apr 16, 2015
1 parent 5d28449 commit de5d749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Files.cpp
Expand Up @@ -67,7 +67,7 @@ void Files::Init(const char * const *argv)
}
if(resources.back() != SEP)
resources += SEP;
#if defined __linux__
#if defined __linux__ || defined __FreeBSD__ || defined __DragonFly__
// Special case, for Linux: the resource files are not in the same place as
// the executable, but are under the same prefix (/usr or /usr/local).
static const string LOCAL_PATH = "/usr/local/";
Expand Down

0 comments on commit de5d749

Please sign in to comment.