Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-11-22 00:08:12 +0300
committerMartin Storsjö <martin@martin.st>2019-11-22 00:08:36 +0300
commit4d9c990e3703ce49da5f5e6bbc8dea0638f46cfa (patch)
tree64f9c77f7e3a0abcc82e2bae1eb44546645de72b /meson.build
parent46d092ae6ac62284e5bdde4d0808aca4ab7410a9 (diff)
section5: use signed type for seeking backwards
Should fix failures of 'section5' sample on 32-bit systems.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 113c30f..de7cd49 100644
--- a/meson.build
+++ b/meson.build
@@ -98,6 +98,7 @@ if host_machine.system() == 'windows'
cdata.set('UNICODE', 1) # Define to 1 for Unicode (Wide Chars) APIs
cdata.set('_UNICODE', 1) # Define to 1 for Unicode (Wide Chars) APIs
cdata.set('__USE_MINGW_ANSI_STDIO', 1) # Define to force use of MinGW printf
+ cdata.set('_CRT_DECLARE_NONSTDC_NAMES', 1) # Define to get off_t from sys/types.h on MSVC
if cc.has_function('fseeko', prefix : '#include <stdio.h>', args : test_args)
cdata.set('_FILE_OFFSET_BITS', 64) # Not set by default by Meson on Windows
else