We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b93b98 commit 51c3128Copy full SHA for 51c3128
src/graphics/meson.build
@@ -24,8 +24,8 @@ if replay_video_rendering_enabled
24
'video_renderer_embedded.cpp',
25
)
26
else
27
-
28
- if host_machine.system() == 'darwin' or host_machine.system() == 'linux'
+ cpp = meson.get_compiler('cpp')
+ if host_machine.system() == 'darwin' or host_machine.system() == 'linux' or (cpp.get_id() == 'gcc' and host_machine.system() == 'windows')
29
graphics_src_files += files(
30
'video_renderer_unix.cpp',
31
src/graphics/video_renderer_windows.cpp
@@ -2,7 +2,9 @@
2
#include "video_renderer.hpp"
3
4
#define WIN32_LEAN_AND_MEAN
5
+#ifndef NOMINMAX
6
#define NOMINMAX
7
+#endif
8
9
#include <windows.h>
10
0 commit comments