Subversion Repositories Tewi

Rev

Rev 299 | Rev 301 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 299 Rev 300
Line 1... Line 1...
1
/* $Id: main.c 299 2024-10-10 02:02:03Z nishi $ */
1
/* $Id: main.c 300 2024-10-10 02:04:08Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 65... Line 65...
65
#include <stdarg.h>
65
#include <stdarg.h>
66
#include <png.h>
66
#include <png.h>
67
 
67
 
68
#define printf(...) tt_printf(__VA_ARGS__)
68
#define printf(...) tt_printf(__VA_ARGS__)
69
#define STDERR_LOG(...) tt_printf(__VA_ARGS__)
69
#define STDERR_LOG(...) tt_printf(__VA_ARGS__)
70
#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__UNIXWARE__)
70
#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__USLC__)
71
void STDERR_LOG(const char* format, ...) {
71
void STDERR_LOG(const char* format, ...) {
72
	va_list args;
72
	va_list args;
73
	va_start(args, format);
73
	va_start(args, format);
74
	vfprintf(stderr, format, args);
74
	vfprintf(stderr, format, args);
75
	va_end(args);
75
	va_end(args);