|
|
| version 1.2, 2004/03/02 16:33:27 | version 1.3, 2004/08/04 15:05:57 |
|---|---|
| Line 5 | Line 5 |
| int trace_flag = 0; | int trace_flag = 0; |
| #ifdef TRACE | |
| void trace_init(void) { | void trace_init(void) { |
| } | } |
| Line 25 void trace_fmt(const char *fmt, ...) { | Line 24 void trace_fmt(const char *fmt, ...) { |
| va_end(ap); | va_end(ap); |
| #ifndef WIN32 | #ifndef WIN32 |
| codecnv_sjis2euc(euc, sizeof(euc), buf, sizeof(buf)); | codecnv_sjis2euc(euc, sizeof(euc), buf, sizeof(buf)); |
| printf("%s\n", euc); | fprintf(stderr, "%s\n", euc); |
| #else | #else |
| printf("%s\n", buf); | fprintf(stderr, "%s\n", buf); |
| #endif | #endif |
| } | } |
| #endif | |