summaryrefslogtreecommitdiff
path: root/src/unittests/fs/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/fs/files.cc')
-rw-r--r--src/unittests/fs/files.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/unittests/fs/files.cc b/src/unittests/fs/files.cc
index 79f9910b8..9255195ca 100644
--- a/src/unittests/fs/files.cc
+++ b/src/unittests/fs/files.cc
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2013-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -116,12 +116,12 @@ TEST_CASE("Files saveTextFile", "")
Files::saveTextFile(dir, "tempfile.txt", "test line\ntext line2");
std::string data = VirtFs::loadTextFileString("test/tempfile.txt");
::remove((dir + "/tempfile.txt").c_str());
-#ifdef WIN32
+#ifdef _WIN32
REQUIRE(data == "test line\r\ntext line2\r\n");
-#else // WIN32
+#else // _WIN32
REQUIRE(data == "test line\ntext line2\n");
-#endif // WIN32
+#endif // _WIN32
ResourceManager::deleteInstance();
VirtFs::unmountDirSilent("data");