47 |
|
|
48 |
/* debug level for this library */ |
/* debug level for this library */ |
49 |
#ifdef _DEBUG |
#ifdef _DEBUG |
50 |
#define DPRINTF_LEVEL 0x000000ff |
#ifndef DPRINTF_LEVEL |
51 |
|
#define DPRINTF_LEVEL 0x8000000f |
52 |
|
#endif |
53 |
#else |
#else |
54 |
#define DPRINTF_LEVEL 0 |
#define DPRINTF_LEVEL 0 |
55 |
#endif |
#endif |
91 |
****************************************************************************/ |
****************************************************************************/ |
92 |
|
|
93 |
#if defined(ARCH_IS_32BIT) |
#if defined(ARCH_IS_32BIT) |
94 |
# define CACHE_LINE 16 |
# define CACHE_LINE 64 |
95 |
# define ptr_t uint32_t |
# define ptr_t uint32_t |
96 |
#elif defined(ARCH_IS_64BIT) |
#elif defined(ARCH_IS_64BIT) |
97 |
# define CACHE_LINE 32 |
# define CACHE_LINE 64 |
98 |
# define ptr_t uint64_t |
# define ptr_t uint64_t |
99 |
#else |
#else |
100 |
# error You are trying to compile XviD without defining address bus size. |
# error You are trying to compile XviD without defining address bus size. |
136 |
char buf[DPRINTF_BUF_SZ]; |
char buf[DPRINTF_BUF_SZ]; |
137 |
va_start(args, fmt); |
va_start(args, fmt); |
138 |
vsprintf(buf, fmt, args); |
vsprintf(buf, fmt, args); |
139 |
|
strcat(buf,"\n"); |
140 |
OutputDebugString(buf); |
OutputDebugString(buf); |
141 |
fprintf(stderr, "%s\n", buf); |
fputs(buf, stderr); |
142 |
} |
} |
143 |
} |
} |
144 |
# else |
# else |