From 2e0d04418e7bd293d94e5053651f815ad763b810 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 13 Jul 2020 13:35:13 -0300 Subject: [PATCH] Fixing debug message. --- src/testprogram/testprogram.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testprogram/testprogram.c b/src/testprogram/testprogram.c index 1c5b62a..14abebe 100644 --- a/src/testprogram/testprogram.c +++ b/src/testprogram/testprogram.c @@ -36,9 +36,9 @@ static void online_group_state_changed(H3270 GNUC_UNUSED(*hSession), void GNUC_U int main(int argc, char *argv[]) { -#ifdef DEBUG - printf("Process %s running on pid %u\n",argv[0],(unsigned int) GetCurrentProcessId()); -#endif // DEBUG +#ifdef _WIN32 + debug("Process %s running on pid %u\n",argv[0],(unsigned int) GetCurrentProcessId()); +#endif // _WIN32 #ifdef LC_ALL setlocale( LC_ALL, "" ); -- libgit2 0.21.2