mirror of
https://github.com/reactos/reactos.git
synced 2025-06-07 10:20:26 +00:00
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:
parent
c8ad8b0005
commit
4750c0b942
2 changed files with 7 additions and 12 deletions
|
@ -160,4 +160,11 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sec_api/string_s.h>
|
#include <sec_api/string_s.h>
|
||||||
|
|
||||||
|
// HACK
|
||||||
|
#define strcasecmp _stricmp
|
||||||
|
#define strncasecmp _strnicmp
|
||||||
|
#define stricmp _stricmp
|
||||||
|
#define wcsicmp _wcsicmp
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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 */
|
|
Loading…
Reference in a new issue