From ad97fa67e00587f6fa0cf320dc78f8ed9149dd42 Mon Sep 17 00:00:00 2001 From: akashihi Date: Sat, 27 Nov 2010 12:16:24 +0000 Subject: Fix:build:__PRETTY_FUNCTION__ is a gcc specific extension git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3727 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- config.h.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index 7f580ebd5..ca44ede02 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -23,3 +23,7 @@ #cmakedefine HAVE_QT_SVG 1 #cmakedefine DBUS_USE_SYSTEM_BUS 1 + +#ifdef _MSC_VER +#define __PRETTY_FUNCTION__ __FILE__":" << __LINE__ +#endif \ No newline at end of file -- cgit v1.2.1