1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/waftools
wm4 943fc88989 win32: remove -municode from mpv binary
If this is used, the runtime expects that wmain() instead of main() is
defined. This caused me severe problems in a certain now irrelevant
case. I think it's a good idea to avoid this special case.

We can just use main() and call GetCommandLineW() instead. This function
returns a single string, so use CommandLineToArgvW() to split it, and
hope it has the same semantics. Should this ever return NULL, hope that
it leaves argc at 0.

Untested, I think.
2019-09-19 20:37:05 +02:00
..
checks build: add check for macOS SDK version 2019-07-21 18:13:07 +03:00
detections win32: remove -municode from mpv binary 2019-09-19 20:37:05 +02:00
fragments wscript: Remove code check for cuda hwaccel 2018-05-10 22:43:08 +03:00
generators build: add all configure flags as conditional flags to Swift compiler 2019-07-21 18:13:07 +03:00
__init__.py
clang_compilation_database.py waftools: update clang_compilation_database 2018-05-17 13:23:26 +02:00
dependencies.py build: use unified dependency expressions instead of weird fields 2017-09-18 22:35:37 +02:00
deps_parser.py build: remove some dead code 2017-09-19 18:37:11 +02:00
features.py build: hide duplicate options from --help 2013-12-26 10:09:17 +01:00
inflector.py build: remove useless class 2015-07-26 15:00:47 +02:00
syms.py build: fix build for waf 2.0 2017-09-22 09:14:37 +02:00
waf_customizations.py build: fix linking libmpv when swift features are build 2018-07-08 14:39:04 +03:00