diff options
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r-- | win/tclWinInt.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h index 9df424f..c7dbf39 100644 --- a/win/tclWinInt.h +++ b/win/tclWinInt.h @@ -32,6 +32,20 @@ typedef struct TCLEXCEPTION_REGISTRATION { #endif /* + * Utility macros: STRINGIFY takes an argument and wraps it in "" (double + * quotation marks), JOIN joins two arguments. + */ + +#ifndef STRINGIFY +# define STRINGIFY(x) STRINGIFY1(x) +# define STRINGIFY1(x) #x +#endif +#ifndef JOIN +# define JOIN(a,b) JOIN1(a,b) +# define JOIN1(a,b) a##b +#endif + +/* * Some versions of Borland C have a define for the OSVERSIONINFO for * Win32s and for NT, but not for Windows 95. * Define VER_PLATFORM_WIN32_CE for those without newer headers. |