From f96e27fd79c11c3185bafcfc02aa065f90c5cdc0 Mon Sep 17 00:00:00 2001 From: Lev Date: Fri, 10 Feb 2017 07:23:19 +0500 Subject: [PATCH] Define __func__ on VS less than 2015. --- rehlds/public/rehlds/osconfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rehlds/public/rehlds/osconfig.h b/rehlds/public/rehlds/osconfig.h index b47fd36..ad22f95 100644 --- a/rehlds/public/rehlds/osconfig.h +++ b/rehlds/public/rehlds/osconfig.h @@ -91,6 +91,11 @@ #ifdef _WIN32 // WINDOWS + // Define __func__ on VS less than 2015 + #if _MSC_VER < 1900 + #define __func__ __FUNCTION__ + #endif + #define _CRT_SECURE_NO_WARNINGS #define WIN32_LEAN_AND_MEAN