Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
1.0 KiB

//////////////////////////////////////////////////////////////////////////
// Copyright (C) Microsoft Corporation, 2000.
// File: widestr.h -- defines WIDESTR and WIDECHAR macros for cross
// platform code development.
//
// This file is intended to be included in all files where the
// the unicode string prefix L"str" or L'c' is replaced by
// WIDESTR("str") or WIDECHAR('c') respectively.
//
// Raj Nakkiran. Nov 1,2000
//
// Revisions:
//
//////////////////////////////////////////////////////////////////////////
#ifndef __WIDESTR_H__
#define __WIDESTR_H__
//
// For Cross platform code, win2linux library provides
// two-byte unicode support on all platforms. This is
// true even in plaforms like linux/GCC where native
// unicode is 4-bytes.
//
#ifdef XPLAT
#include "win2linux.h"
#else // ! XPLAT
#ifndef WIDESTR
#define WIDESTR(x) L##x /* XPLAT */
#endif
#ifndef WIDECHAR
#define WIDECHAR(x) L##x /* XPLAT */
#endif
#endif // ! XPLAT
#endif // __WIDESTR_H__ EOF.