windows-nt/Source/XPSP1/NT/base/win32/fusion/sxs/preprocessor.h

36 lines
575 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
Preprocessor.h
Abstract:
Standard C/C++ Preprocessor magic.
Author:
Jay Krell (a-JayK) December 2000
Environment:
Revision History:
--*/
#pragma once
#define PASTE_(x,y) x##y
#define PASTE(x,y) PASTE_(x,y)
#define STRINGIZE_(x) # x
#define STRINGIZE(x) STRINGIZE_(x)
#define STRINGIZEW(x) PASTE(L, STRINGIZE_(x))
/* Visual C++ extension, rarely needed, useful in preprocessing .rgs files */
#define CHARIZE_(x) #@ x
#define CHARIZE(x) CHARIZE_(x)
#define CHARIZEW(x) PASTE(L, CHARIZE_(x))