]> git.jsancho.org Git - lugaru.git/commitdiff
Rename DATADIR to DATA_DIR to avoid conflict
authorRémi Verschelde <rverschelde@gmail.com>
Sat, 3 Dec 2016 20:51:13 +0000 (21:51 +0100)
committerRémi Verschelde <rverschelde@gmail.com>
Sat, 3 Dec 2016 20:51:13 +0000 (21:51 +0100)
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.


No differences found