diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2015-03-29 22:36:46 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2015-04-11 14:27:25 +1000 |
commit | ac7ecbe30cdec598955471d2ed012f36296b78de (patch) | |
tree | cd62299e8df947fa73787a857e5019277ed5d952 /old-makefile | |
parent | 6f46bafbd06e6a107e55f35860744ed66c1b8426 (diff) | |
download | mpv-ac7ecbe30cdec598955471d2ed012f36296b78de.tar.bz2 mpv-ac7ecbe30cdec598955471d2ed012f36296b78de.tar.xz |
win32: use a platform-specific unicode entry-point
Add a platform-specific entry-point for Windows. This will allow some
platform-specific initialization to be added without the need for ugly
ifdeffery in main.c.
As an immediate advantage, mpv can now use a unicode entry-point and
convert the command line arguments to UTF-8 before passing them to
mpv_main, so osdep_preinit can be simplified a little bit.
Diffstat (limited to 'old-makefile')
-rw-r--r-- | old-makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/old-makefile b/old-makefile index 25f92cec61..2ec33455d3 100644 --- a/old-makefile +++ b/old-makefile @@ -334,7 +334,7 @@ all: $(ALL_TARGETS) %.o: %.c $(CC) $(DEPFLAGS) $(CFLAGS) -c -o $@ $< -mpv: $(OBJECTS) player/main_fn.o +mpv: $(OBJECTS) player/main-fn-unix.o $(CC) -o $@ $^ $(EXTRALIBS) input/input.c: input/input_conf.h |