From 77d0069e522400b63c2182fcc5f852718e4e6f2c Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 14:11:32 -0400 Subject: rename files that should never be compiled on their own to .h --- src/__PREDEFINED_MACROS__/__FILE__.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/__PREDEFINED_MACROS__/__FILE__.h (limited to 'src/__PREDEFINED_MACROS__/__FILE__.h') diff --git a/src/__PREDEFINED_MACROS__/__FILE__.h b/src/__PREDEFINED_MACROS__/__FILE__.h new file mode 100644 index 00000000..257ae89b --- /dev/null +++ b/src/__PREDEFINED_MACROS__/__FILE__.h @@ -0,0 +1,14 @@ +#define __FILE__ /** source file name **/ + +/*** +is automatically defined by the compiler as the file name of the +current source file being compiled as a character string literal. + +THIS() can be changed using PPDIR(line). +***/ + +/* +VALUE_TYPE(string literal) +VALUE_FIXED(VAR(the current file name)) +STDC(1) +*/ -- cgit v1.2.1