You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSVC2013 needs include <algorithm> to define std::min and std::max, which is missing in disney.cpp
Here's a diff to make it build
diff --git a/src/hardware/disney.cpp b/src/hardware/disney.cpp
index 9d2418b..81f47ca 100644
--- a/src/hardware/disney.cpp
+++ b/src/hardware/disney.cpp
@@ -18,6 +18,7 @@
#include <string.h>
+#include <algorithm> // for std::min and std::max
#include "dosbox.h"
#include "inout.h"
#include "mixer.h"
Also, the different uses of min/max could be unified (ide.cpp uses a custom macro MIN and MAX for example, and debug/debug_win32.c also defines its own version of min() ...)
The text was updated successfully, but these errors were encountered:
MSVC2013 needs
include <algorithm>
to definestd::min
andstd::max
, which is missing in disney.cppHere's a diff to make it build
Also, the different uses of min/max could be unified (ide.cpp uses a custom macro MIN and MAX for example, and debug/debug_win32.c also defines its own version of min() ...)
The text was updated successfully, but these errors were encountered: