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
This commit is contained in:
Timo Kreuzer 2008-12-23 02:36:25 +00:00
parent c8ad8b0005
commit 4750c0b942
2 changed files with 7 additions and 12 deletions

View file

@ -160,4 +160,11 @@ extern "C" {
#endif
#include <sec_api/string_s.h>
// HACK
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define stricmp _stricmp
#define wcsicmp _wcsicmp
#endif

View file

@ -1,12 +0,0 @@
#ifndef __WINE_STRING_H
#define __WINE_STRING_H
#include_next <string.h>
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define stricmp _stricmp
#define wcsicmp _wcsicmp
#endif /* !__WINE_STRING_H */