summaryrefslogtreecommitdiff
path: root/support/cpp/libcpp/macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/cpp/libcpp/macro.c')
-rw-r--r--support/cpp/libcpp/macro.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/support/cpp/libcpp/macro.c b/support/cpp/libcpp/macro.c
index 433a30a02..12d47e8e8 100644
--- a/support/cpp/libcpp/macro.c
+++ b/support/cpp/libcpp/macro.c
@@ -165,6 +165,16 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
result = pbuffer->timestamp;
}
break;
+ case BT_FUNCTION:
+ {
+ uchar *buf;
+ buf = _cpp_unaligned_alloc (pfile, 256);
+ memset (buf, 255, 256);
+ buf[0] = buf[254] = '"';
+ buf[255] = 0;
+ result = buf;
+ }
+ break;
case BT_FILE:
case BT_BASE_FILE:
{