mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Add more MSVC 2003 compatibility ifdefs
This commit is contained in:
parent
6b779dab4f
commit
e2c4c25bf5
2
deps/SPIRV-Cross
vendored
2
deps/SPIRV-Cross
vendored
@ -1 +1 @@
|
||||
Subproject commit cc207e32c8668bfe5a5cc514394e7df8f020ecf6
|
||||
Subproject commit 5c24d99ff22a25ef38e9e39985f80cf57a1e7418
|
2
deps/glslang/glslang
vendored
2
deps/glslang/glslang
vendored
@ -1 +1 @@
|
||||
Subproject commit 2eb0986f10392a4c2365869b17b59ad79226c440
|
||||
Subproject commit a4a4d5e22c375d37bd286106904ef819eafff29b
|
@ -321,6 +321,7 @@ static uint64_t frontend_win32_get_mem_used(void)
|
||||
static void frontend_win32_attach_console(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#if(_WIN32_WINNT >= 0x0500)
|
||||
if (!AttachConsole(ATTACH_PARENT_PROCESS))
|
||||
{
|
||||
AllocConsole();
|
||||
@ -329,11 +330,13 @@ static void frontend_win32_attach_console(void)
|
||||
freopen( "CON", "w", stderr );
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
static void frontend_win32_detach_console(void)
|
||||
{
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#if(_WIN32_WINNT >= 0x0500)
|
||||
if (!AttachConsole(ATTACH_PARENT_PROCESS))
|
||||
{
|
||||
HWND wnd = GetConsoleWindow();
|
||||
@ -341,6 +344,7 @@ static void frontend_win32_detach_console(void)
|
||||
PostMessage(wnd, WM_CLOSE, 0, 0);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
frontend_ctx_driver_t frontend_ctx_win32 = {
|
||||
|
Loading…
Reference in New Issue
Block a user