From 4750c0b942006e1267ae1af0df975a149b07f18c Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 23 Dec 2008 02:36:25 +0000 Subject: [PATCH] For some unknown reason wmc likes to include string.h from the wine folder and we cannot link it on linux hosts. This hack should hopefully resolve the issue. svn path=/trunk/; revision=38294 --- reactos/include/crt/string.h | 7 +++++++ reactos/include/reactos/wine/string.h | 12 ------------ 2 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 reactos/include/reactos/wine/string.h diff --git a/reactos/include/crt/string.h b/reactos/include/crt/string.h index ac5bb9bca4b..c69a48f6a30 100644 --- a/reactos/include/crt/string.h +++ b/reactos/include/crt/string.h @@ -160,4 +160,11 @@ extern "C" { #endif #include + +// HACK +#define strcasecmp _stricmp +#define strncasecmp _strnicmp +#define stricmp _stricmp +#define wcsicmp _wcsicmp + #endif diff --git a/reactos/include/reactos/wine/string.h b/reactos/include/reactos/wine/string.h deleted file mode 100644 index d8b196f755c..00000000000 --- a/reactos/include/reactos/wine/string.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef __WINE_STRING_H -#define __WINE_STRING_H - -#include_next - -#define strcasecmp _stricmp -#define strncasecmp _strnicmp -#define stricmp _stricmp -#define wcsicmp _wcsicmp - - -#endif /* !__WINE_STRING_H */