summaryrefslogtreecommitdiff
path: root/src/fs/mkdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/mkdir.cpp')
-rw-r--r--src/fs/mkdir.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fs/mkdir.cpp b/src/fs/mkdir.cpp
index 6e4a9b72a..45a025c6a 100644
--- a/src/fs/mkdir.cpp
+++ b/src/fs/mkdir.cpp
@@ -1,10 +1,10 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2010 The Mana Developers
* Copyright (C) 2011-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
@@ -24,16 +24,16 @@
#include "utils/cast.h"
-#if defined WIN32
+#if defined _WIN32
#include <limits.h>
#include <windows.h>
-#endif // defined WIN32
+#endif // defined _WIN32
#include <sys/stat.h>
#include "debug.h"
-#if defined WIN32
+#if defined _WIN32
int mkdir_r(const char *const pathname)
{
if (!pathname)
@@ -103,7 +103,7 @@ int mkdir_r(const char *const pathname)
}
return 0;
}
-#else // WIN32
+#else // _WIN32
/// Create a directory, making leading components first if necessary
int mkdir_r(const char *const pathname)
@@ -164,4 +164,4 @@ int mkdir_r(const char *const pathname)
delete []tmp;
return 0;
}
-#endif // WIN32
+#endif // _WIN32