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