mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-28 04:13:26 +08:00
600fd551f6
clog10.c, clog10f.c, clog10l.c: - The prototypes for the functions created in these files are protected by #ifdef _GNU_SOURCE. Since we should always build the .c file, we need to add the define so we can find the prototype. gai_strerrorA.c: - wcstombs() is in stdlib. abs64.c: - llabs() is in stdlib.h. _vscprintf_p.c, _vscwprintf_p.c, _vswprintf_p.c: - _vscprintf_p_l, _vscwprintf_p_l & _vswprintf_p_l prototypes are protected by #if. Add the define so we can find them. Signed-off-by: David Wohlferd <dw@LimeGreenSocks.com>
7 lines
118 B
C
7 lines
118 B
C
#include <intrin.h>
|
|
#include <stdlib.h>
|
|
|
|
__MINGW_EXTENSION __int64 __cdecl _abs64(__int64 x) {
|
|
return llabs(x);
|
|
}
|