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.
|
|
//--------------------------------------------------------------------------
// strconst.h
//--------------------------------------------------------------------------
#pragma once
//--------------------------------------------------------------------------
// Constant String Definition Macros
//--------------------------------------------------------------------------
#ifdef __cplusplus
#define EXTERN_C extern "C"
#else
#define EXTERN_C extern
#endif
#ifndef STRCONSTA
#ifdef DEFINE_STRCONST
#define STRCONSTA(x,y) EXTERN_C const char x[] = y
#define STRCONSTW(x,y) EXTERN_C const WCHAR x[] = L##y
#else
#define STRCONSTA(x,y) EXTERN_C const char x[]
#define STRCONSTW(x,y) EXTERN_C const WCHAR x[]
#endif
#endif
//--------------------------------------------------------------------------
// Constant String
//--------------------------------------------------------------------------
STRCONSTA(c_szEmpty, ""); STRCONSTW(c_wszEmpty, "");
|