Skip to content

Commit

Permalink
Added check do not define NOMINMAX if already defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
bXi committed Jul 23, 2024
1 parent aa6b9f6 commit a179331
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#include <iostream>

#if defined(_WIN32) || defined(_WIN64)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>

#elif defined(__linux__) && !defined(__ANDROID__)
Expand Down

0 comments on commit a179331

Please sign in to comment.