21 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: portab.h,v 1.56 2006-05-28 07:52:45 suxen_drol Exp $ |
* $Id: portab.h,v 1.58 2008-11-27 16:31:48 Isibaar Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
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 |
|
|