Subversion Repositories Tewi

Rev

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

Rev 212 Rev 213
Line 1... Line 1...
1
/* $Id: main.c 212 2024-10-02 17:44:55Z nishi $ */
1
/* $Id: main.c 213 2024-10-02 17:45:40Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 60... Line 60...
60
#include <png.h>
60
#include <png.h>
61
 
61
 
62
#define printf(...) tt_printf(__VA_ARGS__)
62
#define printf(...) tt_printf(__VA_ARGS__)
63
#define STDERR_LOG(...) tt_printf(__VA_ARGS__)
63
#define STDERR_LOG(...) tt_printf(__VA_ARGS__)
64
#elif defined(_MSC_VER)
64
#elif defined(_MSC_VER)
65
void STDERR_LOG(const char* format, ...){
65
void STDERR_LOG(const char* format, ...) {
66
	va_list args;
66
	va_list args;
67
	va_start(args, format);
67
	va_start(args, format);
68
	vfprintf(stderr, format, args);
68
	vfprintf(stderr, format, args);
69
	va_end(args);
69
	va_end(args);
70
}
70
}