Commit 2e0d04418e7bd293d94e5053651f815ad763b810
1 parent
d08c799f
Exists in
master
and in
3 other branches
Fixing debug message.
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/testprogram/testprogram.c
@@ -36,9 +36,9 @@ static void online_group_state_changed(H3270 GNUC_UNUSED(*hSession), void GNUC_U | @@ -36,9 +36,9 @@ static void online_group_state_changed(H3270 GNUC_UNUSED(*hSession), void GNUC_U | ||
36 | 36 | ||
37 | int main(int argc, char *argv[]) | 37 | int main(int argc, char *argv[]) |
38 | { | 38 | { |
39 | -#ifdef DEBUG | ||
40 | - printf("Process %s running on pid %u\n",argv[0],(unsigned int) GetCurrentProcessId()); | ||
41 | -#endif // DEBUG | 39 | +#ifdef _WIN32 |
40 | + debug("Process %s running on pid %u\n",argv[0],(unsigned int) GetCurrentProcessId()); | ||
41 | +#endif // _WIN32 | ||
42 | 42 | ||
43 | #ifdef LC_ALL | 43 | #ifdef LC_ALL |
44 | setlocale( LC_ALL, "" ); | 44 | setlocale( LC_ALL, "" ); |