Add a library "host_wcsfuncs" with implementations for UTF-16 string functions needed...
authorColin Finck <colin@reactos.org>
Sun, 22 Jun 2008 20:58:56 +0000 (20:58 +0000)
committerColin Finck <colin@reactos.org>
Sun, 22 Jun 2008 20:58:56 +0000 (20:58 +0000)
commit8d9b815544902d860e9c489378799d71a00d1ff2
tree43d8061495735b99172e47ab15eb3bc7a6b42844
parent33c4221b1eb6151dc311468656a0ee01cf959633
Add a library "host_wcsfuncs" with implementations for UTF-16 string functions needed for some host tools

Instead of copying those functions into every host tool, which needs it (as we did previously), we can now implement them all in this library and link the host tools to it.
If USE_HOST_WCSFUNCS is not defined, the "wcsfuncs.h" file will define them to the CRT functions (so this library does not create overhead, when the code is built for the target platform)

See issue #3285 for more details.

svn path=/trunk/; revision=34050
reactos/include/host/wcsfuncs.h [new file with mode: 0644]
reactos/lib/cmlib/cminit.c
reactos/lib/cmlib/cmlib.h
reactos/lib/host/directory.rbuild [new file with mode: 0644]
reactos/lib/host/wcsfuncs/wcsfuncs.c [new file with mode: 0644]
reactos/lib/host/wcsfuncs/wcsfuncs.rbuild [new file with mode: 0644]
reactos/lib/lib.rbuild
reactos/tools/mkhive/mkhive.h
reactos/tools/mkhive/mkhive.rbuild
reactos/tools/mkhive/registry.c
reactos/tools/mkhive/rtl.c