C++03 compatibility (#736)

* Use C++03 compatible constructors
* Remove conflicting definitions
This commit is contained in:
Anders Jenbo 2020-05-17 01:37:19 +02:00 committed by GitHub
commit dc8be6c0ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 260 additions and 346 deletions

View file

@ -9,7 +9,7 @@ void ReadOnlyTest()
char path[MAX_PATH], Filename[MAX_PATH];
GetPrefPath(path, MAX_PATH);
snprintf(Filename, DVL_MAX_PATH, "%sDiablo1ReadOnlyTest.foo", path);
snprintf(Filename, MAX_PATH, "%sDiablo1ReadOnlyTest.foo", path);
f = fopen(Filename, "wt");
if (!f) {