Skip to content

Commit 5f5c425

Browse files
committed
Minor fixes
1 parent a5d4aaa commit 5f5c425

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

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)