Subversion Repositories Tewi

Rev

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

Rev 300 Rev 301
Line 1... Line 1...
1
/* $Id: main.c 300 2024-10-10 02:04:08Z nishi $ */
1
/* $Id: main.c 301 2024-10-10 02:06:20Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 66... Line 66...
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(__USLC__)
70
#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__USLC__)
-
 
71
#include <stdarg.h>
-
 
72
 
71
void STDERR_LOG(const char* format, ...) {
73
void STDERR_LOG(const char* format, ...) {
72
	va_list args;
74
	va_list args;
73
	va_start(args, format);
75
	va_start(args, format);
74
	vfprintf(stderr, format, args);
76
	vfprintf(stderr, format, args);
75
	va_end(args);
77
	va_end(args);