Skip to content

Commit c0242af

Browse files
committed
Add WIN32_LEAN_AND_MEAN
1 parent 6be9776 commit c0242af

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v1.0.1.1 - 2025-09-20
2+
- Add WIN32_LEAN_AND_MEAN
3+
14
# v1.0.1.0 - 2025-09-12
25
- Change organization name
36

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.10)
22

3-
set(BUILD_VERSION 1.0.1.0)
3+
set(BUILD_VERSION 1.0.1.1)
44

55
project(slick_queue
66
VERSION ${BUILD_VERSION}

include/slick_queue/slick_queue.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
#if defined(_MSC_VER)
2121
#ifndef NOMINMAX
2222
#define NOMINMAX
23-
#undef min
24-
#undef max
23+
#undef min // to avoid conflicts with std::min
24+
#undef max // to avoid conflicts with std::max
2525
#endif
26+
#define WIN32_LEAN_AND_MEAN
2627
#include <windows.h>
2728
#include <tchar.h>
2829
#else

0 commit comments

Comments
 (0)