/* +++Date last modified: 05-Jul-1997 */ /* ** STRINGIZ.H - Macros to use the ANSI/ISO preprocessor "stringize" macro */ #ifndef STRINGIZ__H #define STRINGIZ__H #define stringize(y) #y #define add_quotes(x) stringize (x) #ifdef TEST #include #include #define FILENAME MYFILE.XYZ int main() { char tmp[80]; strcpy(tmp, "File: "); strcat(tmp, add_quotes(FILENAME)); printf("%s\n", tmp); return 0; } #endif /* TEST */ #endif /* STRINGIZ__H */