Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add NOMINMAX
  • Loading branch information
ngxson committed Nov 13, 2025
commit 9917e044f09e732a03cafeb11f713c29e7403de4
6 changes: 4 additions & 2 deletions tools/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
#include "utils.hpp"
#include "server-http.h"

#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
// fix problem with std::min and std::max
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
# define NOMINMAX
#endif
#include <windows.h>
#endif
Expand Down