mpv/osdep
James Ross-Gowan 0bdbe2bc53 win32: fix semantics of POSIX 2008 locale stubs
This sliences some warnings about unused values and statements with no
effect, but it also fixes a logic error with freelocale(), since
previously it would not work as expected when used in the body of an if
statement without braces.

Uses real functions, because with macros, I don't think there is a way
to silence the "statement with no effect" warnings in the case where the
return value of uselocale() is ignored.

As for replacing the these functions with working implementations, I
don't think this is possible for mpv's use-case, since MSVCRT does not
support UTF-8 locales, or any locale with multibyte characters that are
three or more bytes long. See:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale
2017-11-19 21:10:56 +11:00
..
android android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
ar
win32 win32: fix massive memory corruption (take 2) 2017-08-21 18:42:04 +02:00
atomic.h
compiler.h
endian.h
glob-win.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
io.c win32: fix semantics of POSIX 2008 locale stubs 2017-11-19 21:10:56 +11:00
io.h win32: fix semantics of POSIX 2008 locale stubs 2017-11-19 21:10:56 +11:00
macosx_application.h osx: move menu bar creation into its own file 2017-08-18 19:20:41 +02:00
macosx_application.m osx: fix the bundle $PATH yet again 2017-11-11 19:21:21 +01:00
macosx_application_objc.h osx: refactor menu bar creation 2017-08-18 19:20:41 +02:00
macosx_compat.h osx: fix build on macOS 10.11 and earlier 2017-08-26 11:42:50 +02:00
macosx_events.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_events.m osx: fix media keys input when other Apps steal the priority 2017-09-07 20:42:26 +02:00
macosx_events_objc.h osx: fix media keys input when other Apps steal the priority 2017-09-07 20:42:26 +02:00
macosx_menubar.h osx: move menu bar creation into its own file 2017-08-18 19:20:41 +02:00
macosx_menubar.m osx: fix build on macOS 10.11 and earlier 2017-08-26 11:42:50 +02:00
macosx_menubar_objc.h osx: refactor menu bar creation 2017-08-18 19:20:41 +02:00
macosx_touchbar.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_touchbar.m osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_versions.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c
main-fn.h
mpv.exe.manifest
mpv.rc mpv.rc, mpv.exe.manifest: change license to LGPL 2017-06-12 17:06:03 +02:00
path-macosx.m osx: fix bundle on macOS High Sierra (10.13) 2017-10-03 11:30:56 +02:00
path-unix.c
path-uwp.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
path-win.c
path.h Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
posix-spawn.h android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
semaphore.h
semaphore_osx.c
strnlen.h
subprocess-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
subprocess-posix.c android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
subprocess-win.c subprocess-win: fix swprintf usage 2017-07-29 21:13:07 +10:00
subprocess.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
subprocess.h
terminal-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
terminal-unix.c Avoid calling close(-1) 2017-06-29 10:31:13 +02:00
terminal-win.c terminal: remove unused return value 2017-06-27 18:08:56 +02:00
terminal.h terminal: remove unused return value 2017-06-27 18:08:56 +02:00
threads.c Revert "osdep: NetBSD pthread_setname_np()" 2017-06-22 13:17:40 +02:00
threads.h
timer-darwin.c
timer-linux.c
timer-win2.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
timer.c
timer.h
w32_keyboard.c w32_common: handle media keys 2017-08-05 02:38:44 +10:00
w32_keyboard.h w32_common: handle media keys 2017-08-05 02:38:44 +10:00
win32-console-wrapper.c
windows_utils.c
windows_utils.h