Add HAVE___func__ and HAVE___FUNCTION__ (GH PR #27)
This commit is contained in:
parent
c504aa31a4
commit
a31b66b8b7
@ -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
|
10
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___func__.h
Normal file
10
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE___func__.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user