75 |
# define CACHE_LINE 64 |
# define CACHE_LINE 64 |
76 |
# define ptr_t uint32_t |
# define ptr_t uint32_t |
77 |
# define intptr_t int32_t |
# define intptr_t int32_t |
78 |
|
# define _INTPTR_T_DEFINED |
79 |
# if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) |
# if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) |
80 |
# include <stdarg.h> |
# include <stdarg.h> |
81 |
# else |
# else |
85 |
# define CACHE_LINE 64 |
# define CACHE_LINE 64 |
86 |
# define ptr_t uint64_t |
# define ptr_t uint64_t |
87 |
# define intptr_t int64_t |
# define intptr_t int64_t |
88 |
|
# define _INTPTR_T_DEFINED |
89 |
# if defined (_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) |
# if defined (_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) |
90 |
# include <stdarg.h> |
# include <stdarg.h> |
91 |
# else |
# else |
132 |
va_start(args, fmt); |
va_start(args, fmt); |
133 |
vsprintf(buf, fmt, args); |
vsprintf(buf, fmt, args); |
134 |
va_end(args); |
va_end(args); |
135 |
OutputDebugString(buf); |
OutputDebugStringA(buf); |
136 |
fprintf(stderr, "%s", buf); |
fprintf(stderr, "%s", buf); |
137 |
} |
} |
138 |
} |
} |
360 |
/*---------------------------------------------------------------------------- |
/*---------------------------------------------------------------------------- |
361 |
| watcom ia32 specific macros/functions |
| watcom ia32 specific macros/functions |
362 |
*---------------------------------------------------------------------------*/ |
*---------------------------------------------------------------------------*/ |
363 |
# if defined(ARCH_IS_IA32) |
# if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
364 |
|
|
365 |
# define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax |
# define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax |
366 |
|
|