From 82aee3171eaa1d9a6eb69242655fd972bdd0b07b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 24 Apr 2022 04:10:36 +0100 Subject: Move WIN32_LEAN_AND_MEAN and NOMINMAX into flags They're literally always defined thusfar, and it's always possible to include specific headers for other stuff. So, rather than litter the source with defines (which might not even work in the likes of os.h if some other system header already decided to define/include stuff), let's just define it at the build script level. --- src/os.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/os.h') diff --git a/src/os.h b/src/os.h index 0e30005..d789717 100644 --- a/src/os.h +++ b/src/os.h @@ -28,8 +28,6 @@ #include #include #ifdef _WIN32 -#define NOMINMAX -#define WIN32_LEAN_AND_MEAN #include #include // DUMB HACK: noreturn.h is alphabetically before os.h so including it after -- cgit v1.2.3