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:
Jeffrey Altman
2022-11-16 21:09:52 -05:00
committed by Jeffrey Altman
parent a9fca332da
commit 36cf07bc44

View File

@@ -57,6 +57,10 @@ static const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
#define MAXPATHLEN MaxPathLen
#endif
#if _MSC_VER < 1900
# define __func__ __FUNCTION__
#endif
#ifdef BUILD_KRB5_LIB
#ifndef KRB5_LIB
#ifdef _WIN32