Skip to content

Commit 4deb178

Browse files
committed
Minor fixes
1 parent 742ad64 commit 4deb178

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.github/workflows/cmake_clang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2 # Checkout the repository code
17+
uses: actions/checkout@v4 # Checkout the repository code
1818

1919
- name: Configure CMake with Clang
2020
run: cmake -S . -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ # Configure CMake with Clang as the compiler

.github/workflows/cmake_ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2 # Checkout the repository code
17+
uses: actions/checkout@v4 # Checkout the repository code
1818

1919
- name: Configure CMake
2020
run: cmake -S . -B build # Configure CMake to generate build files in 'build' directory

.github/workflows/cmake_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2 # Checkout the repository code
17+
uses: actions/checkout@v4 # Checkout the repository code
1818

1919
- name: Set up Visual Studio
20-
uses: microsoft/setup-msbuild@v1.1 # Set up Visual Studio environment (MSBuild)
20+
uses: microsoft/setup-msbuild@v2.1 # Set up Visual Studio environment (MSBuild)
2121

2222
- name: Configure CMake
2323
run: cmake -S . -B build -G "Visual Studio 17 2022" # Configure CMake for Visual Studio

DelegateMQ/DelegateMQ.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@
5353
/// * Repository: https://github.com/DelegateMQ/DelegateMQ
5454
/// * See `README.md`, `DETAILS.md`, and `EXAMPLES.md` for comprehensive guides.
5555

56+
// -----------------------------------------------------------------------------
57+
// 0. Platform Configuration
58+
// -----------------------------------------------------------------------------
59+
#if defined(_WIN32) || defined(_WIN64)
60+
#ifndef WIN32_LEAN_AND_MEAN
61+
#define WIN32_LEAN_AND_MEAN
62+
#endif
63+
#ifndef NOMINMAX
64+
#define NOMINMAX
65+
#endif
66+
#endif
67+
5668
// -----------------------------------------------------------------------------
5769
// 1. Core Non-Thread-Safe Delegates
5870
// (Always available: Bare Metal, FreeRTOS, Windows, Linux)

0 commit comments

Comments
 (0)