93 |
#if defined(ARCH_IS_32BIT) |
#if defined(ARCH_IS_32BIT) |
94 |
# define CACHE_LINE 64 |
# define CACHE_LINE 64 |
95 |
# define ptr_t uint32_t |
# define ptr_t uint32_t |
96 |
|
# define intptr_t int32_t |
97 |
|
# if _MSC_VER < 1300 |
98 |
|
# define uintptr_t uint32_t |
99 |
|
# else |
100 |
|
# include <stdarg.h> |
101 |
|
# endif |
102 |
#elif defined(ARCH_IS_64BIT) |
#elif defined(ARCH_IS_64BIT) |
103 |
# define CACHE_LINE 64 |
# define CACHE_LINE 64 |
104 |
# define ptr_t uint64_t |
# define ptr_t uint64_t |
105 |
|
# define intptr_t int64_t |
106 |
|
# if _MSC_VER < 1300 |
107 |
|
# define uintptr_t uint64_t |
108 |
|
# else |
109 |
|
# include <stdarg.h> |
110 |
|
# endif |
111 |
#else |
#else |
112 |
# error You are trying to compile XviD without defining address bus size. |
# error You are trying to compile XviD without defining address bus size. |
113 |
#endif |
#endif |
148 |
char buf[DPRINTF_BUF_SZ]; |
char buf[DPRINTF_BUF_SZ]; |
149 |
va_start(args, fmt); |
va_start(args, fmt); |
150 |
vsprintf(buf, fmt, args); |
vsprintf(buf, fmt, args); |
|
strcat(buf,"\n"); |
|
151 |
OutputDebugString(buf); |
OutputDebugString(buf); |
152 |
fputs(buf, stderr); |
fprintf(stderr, "%s\n", buf); |
153 |
} |
} |
154 |
} |
} |
155 |
# else |
# else |