summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index b4cce45..1baa489 100644
--- a/meson.build
+++ b/meson.build
@@ -105,6 +105,8 @@ elif host_system == 'linux'
have_posix = true
elif host_system == 'windows'
platform_cflags += ['-DWEBRTC_WIN', '-D_WIN32', '-U__STRICT_ANSI__']
+ # this one is for MinGW to get format specifiers from inttypes.h in C++
+ platform_cflags += ['-D__STDC_FORMAT_MACROS=1']
os_deps += [cc.find_library('winmm')]
have_win = true
endif