summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-07-01 17:26:21 +0200
committerFedja Beader <fedja@protonmail.ch>2025-07-01 19:00:09 +0200
commit72aa8b97b1571b9f1843dfd3c4c43c19614136dd (patch)
treed4a574ae1c8fd372487a61605fb59afcd3787d45
parent78d7f9aef660480ee57f0e2382db5ef8fb2e48a7 (diff)
downloadverse-72aa8b97b1571b9f1843dfd3c4c43c19614136dd.tar.gz
verse-72aa8b97b1571b9f1843dfd3c4c43c19614136dd.tar.bz2
verse-72aa8b97b1571b9f1843dfd3c4c43c19614136dd.tar.xz
verse-72aa8b97b1571b9f1843dfd3c4c43c19614136dd.zip
Revert "Just some changes to compile on windows - WIN32_LEAN_AND_MEAN rename in"
This reverts commit c7a1e2bcfb3197a0c9d145e27ba9a8b49042a165.
-rw-r--r--src/debug/nvwa/debug_new.cpp4
-rw-r--r--src/debug/nvwa/fast_mutex.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/debug/nvwa/debug_new.cpp b/src/debug/nvwa/debug_new.cpp
index 853490742..77ef8f17e 100644
--- a/src/debug/nvwa/debug_new.cpp
+++ b/src/debug/nvwa/debug_new.cpp
@@ -61,8 +61,8 @@ PRAGMA45(GCC diagnostic ignored "-Wcast-qual")
#endif
#if NVWA_WINDOWS
-#ifndef _WIN32_LEAN_AND_MEAN
-#define _WIN32_LEAN_AND_MEAN
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h> // CaptureStackBackTrace
#endif
diff --git a/src/debug/nvwa/fast_mutex.h b/src/debug/nvwa/fast_mutex.h
index 7f4d9270b..faccc4893 100644
--- a/src/debug/nvwa/fast_mutex.h
+++ b/src/debug/nvwa/fast_mutex.h
@@ -285,9 +285,9 @@ NVWA_NAMESPACE_BEGIN
};
NVWA_NAMESPACE_END
# elif defined(NVWA_WIN32THREADS)
-# ifndef _WIN32_LEAN_AND_MEAN
-# define _WIN32_LEAN_AND_MEAN
-# endif /* _WIN32_LEAN_AND_MEAN */
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif /* WIN32_LEAN_AND_MEAN */
# include <windows.h>
NVWA_NAMESPACE_BEGIN
/**