reactos/lib/sdk/crt/math/labs.c
Timo Kreuzer a3623f23de [CRT]
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)

svn path=/branches/cmake-bringup/; revision=49421
2010-11-02 00:06:33 +00:00

13 lines
157 B
C

/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#ifndef _MSC_VER
/*
* @implemented
*/
long
labs(long j)
{
return j<0 ? -j : j;
}
#endif