Changes required to support FreeBSD
This commit is contained in:
@ -23,6 +23,13 @@
|
||||
#include "FileSystem.h"
|
||||
#include <QDir>
|
||||
|
||||
#ifdef major
|
||||
#undef major
|
||||
#endif
|
||||
#ifdef minor
|
||||
#undef minor
|
||||
#endif
|
||||
|
||||
static QString replaceSuffix (QString target, const QString &suffix, const QString &replacement)
|
||||
{
|
||||
if (!target.endsWith(suffix))
|
||||
|
Reference in New Issue
Block a user