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