diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___FUNCTION__.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___FUNCTION__.h new file mode 100644 index 0000000..03d68a6 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___FUNCTION__.h @@ -0,0 +1,10 @@ +// HAVE___FUNCTION__ + +#undef HAVE___FUNCTION__ + +/* HAVE___FUNCTION__ + * __FUNCTION__ is another name for __func__, provided for backward + * compatibility with old versions of GCC. + * Although it is seemingly available everywhere else. + */ +#define HAVE___FUNCTION__ 1 diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___func__.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___func__.h new file mode 100644 index 0000000..0f65495 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___func__.h @@ -0,0 +1,10 @@ +// HAVE___func__ + +#undef HAVE___func__ + +/* HAVE___func__ + * __func__ was added to the standard in C99 and C++11. But seemingly exists + * almost everywhere before that as well. + */ + +#define HAVE___func__ 1