From e5185403aa06972a13d396cb39a5784115e611ae Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Sun, 20 Jan 2013 10:53:26 +0800 Subject: [PATCH] Fix Windows missing __func__ defines. --- include/freerdp/api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/freerdp/api.h b/include/freerdp/api.h index b10538a9f..de25d8d39 100644 --- a/include/freerdp/api.h +++ b/include/freerdp/api.h @@ -32,6 +32,10 @@ #define INLINE inline #endif +#ifdef _WIN32 +#define __func__ __FUNCTION__ +#endif + #if defined _WIN32 || defined __CYGWIN__ #ifdef FREERDP_EXPORTS #ifdef __GNUC__