On MinGW it would error out with:
Source/Utils/Folders.cpp:33:45: error: expected primary-expression before ';' token
const std::string Folders::dataDir = DATADIR;
^
The issue seems to be that MinGW (and likely MSVC) is case insensitive
and would see DATADIR as conflicting with dataDir.
#include <pwd.h>
#endif
#if _WIN32
-#include <Windows.h>
-#include <WinBase.h>
+#include <windows.h>
#endif
-const std::string Folders::dataDir = DATADIR;
+const std::string Folders::dataDir = DATA_DIR;
std::string Folders::getScreenshotDir()
{
#include <string>
-#ifndef DATADIR
-#define DATADIR "Data"
+#ifndef DATA_DIR
+#define DATA_DIR "Data"
#endif
class Folders