Conformance tests must not use Wine-specific headers (like wine/unicode.h) otherwise they will not compile on Windows. wine/test.h is the only exception. Changelog: * dlls/kernel/tests/atom.c Do not include wine/unicode.h Duplicate strlenW Index: dlls/kernel/tests/atom.c =================================================================== RCS file: /home/wine/wine/dlls/kernel/tests/atom.c,v retrieving revision 1.1 diff -u -r1.1 atom.c --- dlls/kernel/tests/atom.c 31 Jul 2002 17:45:00 -0000 1.1 +++ dlls/kernel/tests/atom.c 5 Sep 2002 19:31:55 -0000 @@ -23,11 +23,17 @@ #include "wine/test.h" #include "winbase.h" #include "winerror.h" -#include "wine/unicode.h" static const WCHAR foobarW[] = {'f','o','o','b','a','r',0}; static const WCHAR FOOBARW[] = {'F','O','O','B','A','R',0}; static const WCHAR _foobarW[] = {'_','f','o','o','b','a','r',0}; + +int strlenW(const WCHAR* str) +{ + const WCHAR *s = str; + while (*s) s++; + return s - str; +} static void test_add_atom(void) { -- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ "Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds