[ros-diffs] [tkreuzer] 38294: 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.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Dec 23 03:36:25 CET 2008


Author: tkreuzer
Date: Mon Dec 22 20:36:25 2008
New Revision: 38294

URL: http://svn.reactos.org/svn/reactos?rev=38294&view=rev
Log:
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.

Removed:
    trunk/reactos/include/reactos/wine/string.h
Modified:
    trunk/reactos/include/crt/string.h

Modified: trunk/reactos/include/crt/string.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/string.h?rev=38294&r1=38293&r2=38294&view=diff
==============================================================================
--- trunk/reactos/include/crt/string.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/string.h [iso-8859-1] Mon Dec 22 20:36:25 2008
@@ -160,4 +160,11 @@
 #endif
 
 #include <sec_api/string_s.h>
+
+// HACK
+#define strcasecmp _stricmp
+#define strncasecmp _strnicmp
+#define stricmp _stricmp
+#define wcsicmp _wcsicmp
+
 #endif

Removed: trunk/reactos/include/reactos/wine/string.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/string.h?rev=38293&view=auto
==============================================================================
--- trunk/reactos/include/reactos/wine/string.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/string.h (removed)
@@ -1,12 +1,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 */



More information about the Ros-diffs mailing list