diff --git a/reactos/lib/sdk/crt/math/abs.c b/reactos/lib/sdk/crt/math/abs.c index a95798b8de4..a18f19b2666 100644 --- a/reactos/lib/sdk/crt/math/abs.c +++ b/reactos/lib/sdk/crt/math/abs.c @@ -1,13 +1,10 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ -#include /* * @implemented */ -#ifndef _MSC_VER int abs(int j) { return j<0 ? -j : j; } -#endif diff --git a/reactos/lib/sdk/crt/math/labs.c b/reactos/lib/sdk/crt/math/labs.c index e19c211c99b..b4fc33ec0a0 100644 --- a/reactos/lib/sdk/crt/math/labs.c +++ b/reactos/lib/sdk/crt/math/labs.c @@ -1,13 +1,10 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ -#include /* * @implemented */ -#ifndef _MSC_VER long labs(long j) { return j<0 ? -j : j; } -#endif diff --git a/reactos/lib/sdk/crt/string/strset.c b/reactos/lib/sdk/crt/string/strset.c index db44dd26f8d..e6c422d4f9c 100644 --- a/reactos/lib/sdk/crt/string/strset.c +++ b/reactos/lib/sdk/crt/string/strset.c @@ -8,7 +8,15 @@ * 25/11/05: Added license header */ -#include +#if defined(__GNUC__) +#define __int64 long long +#endif + +#ifdef _WIN64 +typedef unsigned __int64 size_t; +#else +typedef unsigned int size_t; +#endif /* * @implemented @@ -30,7 +38,6 @@ char* _strnset(char* szToFill, int szFill, size_t sizeMaxFill) /* * @implemented */ -#ifndef _MSC_VER char* _strset(char* szToFill, int szFill) { char *t = szToFill; @@ -42,4 +49,3 @@ char* _strset(char* szToFill, int szFill) } return t; } -#endif