Skip to content

Commit

Permalink
COMP: Fix multiple min/max macros on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
NicerNewerCar committed Jan 23, 2024
1 parent 5770f84 commit 43387d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libautoscoper/src/Video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
#include <algorithm>
#include <iostream>
#ifdef WIN32
#ifndef NOMINMAX // Otherwise windows.h defines min/max macros
#define NOMINMAX
#endif // NOMINMAX
#include <windows.h>
#include "Win32/dirent.h"
#elif __APPLE__
Expand Down

0 comments on commit 43387d1

Please sign in to comment.