2008-06-22 20:58:56 +00:00
|
|
|
/*
|
|
|
|
PROJECT: ReactOS
|
|
|
|
LICENSE: GPL v2 or any later version
|
|
|
|
FILE: include/host/wcsfuncs.h
|
|
|
|
PURPOSE: Header for the "host_wcsfuncs" static library
|
|
|
|
COPYRIGHT: Copyright 2008 Colin Finck <mail@colinfinck.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _HOST_WCSFUNCS_H
|
|
|
|
#define _HOST_WCSFUNCS_H
|
|
|
|
|
|
|
|
#ifdef USE_HOST_WCSFUNCS
|
|
|
|
/* Function prototypes */
|
2010-05-01 20:17:11 +00:00
|
|
|
|
2008-06-22 20:58:56 +00:00
|
|
|
#else
|
2010-05-01 20:17:11 +00:00
|
|
|
/* Map str*W functions to wcs* function */
|
|
|
|
|
|
|
|
#define isspaceW iswspace
|
|
|
|
#define strchrW wcschr
|
|
|
|
#define strcmpiW _wcsicmp
|
|
|
|
#define strcpyW wcscpy
|
|
|
|
#define strlenW wcslen
|
|
|
|
#define strncmpW wcsncmp
|
|
|
|
#define strtolW wcstol
|
|
|
|
#define strtoulW wcstoul
|
|
|
|
|
2008-06-22 20:58:56 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|