Windows: define __func__ in terms of __FUNCTION__
_MSC_VER < 1900 does not provide __func__. Where it is not available use __FUNCTION__ instead. Change-Id: I6624d2d429e90c993ad103cb83e6f61a58a5f800
This commit is contained in:

committed by
Jeffrey Altman

parent
a9fca332da
commit
36cf07bc44
@@ -57,6 +57,10 @@ static const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
|
|||||||
#define MAXPATHLEN MaxPathLen
|
#define MAXPATHLEN MaxPathLen
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if _MSC_VER < 1900
|
||||||
|
# define __func__ __FUNCTION__
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef BUILD_KRB5_LIB
|
#ifdef BUILD_KRB5_LIB
|
||||||
#ifndef KRB5_LIB
|
#ifndef KRB5_LIB
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
Reference in New Issue
Block a user