comparison util.c @ 2032:441d5d6cea2f

Make KDEBUG functionality play nice with gdb remote debugging
author Michael Pavone <pavone@retrodev.com>
date Sat, 20 Feb 2021 14:52:32 -0800
parents cd163b230cf9
children 237068a25523
comparison
equal deleted inserted replaced
2031:0757da8ee702 2032:441d5d6cea2f
532 void disable_stdout_messages(void) 532 void disable_stdout_messages(void)
533 { 533 {
534 output_enabled = 0; 534 output_enabled = 0;
535 } 535 }
536 536
537 uint8_t is_stdout_enabled(void)
538 {
539 return output_enabled;
540 }
541
537 #ifdef _WIN32 542 #ifdef _WIN32
538 #define WINVER 0x501 543 #define WINVER 0x501
539 #include <winsock2.h> 544 #include <winsock2.h>
540 #include <windows.h> 545 #include <windows.h>
541 #include <shlobj.h> 546 #include <shlobj.h>