__func__ define for msvc since its not c99 compat
This commit is contained in:
@@ -43,9 +43,14 @@
|
|||||||
#define RNA_VERSION_DATE "FIXME-RNA_VERSION_DATE"
|
#define RNA_VERSION_DATE "FIXME-RNA_VERSION_DATE"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#ifndef snprintf
|
# ifndef snprintf
|
||||||
#define snprintf _snprintf
|
# define snprintf _snprintf
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* so we can use __func__ everywhere */
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define __func__ __FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Replace if different */
|
/* Replace if different */
|
||||||
|
|||||||
Reference in New Issue
Block a user