2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>

* dbus/dbus-internals.h: msvc also knows about __FUNCTION__,
	we should also use it. - Patch from Christian Ehrlicher
This commit is contained in:
Ralf Habacker 2006-12-13 15:50:43 +00:00
parent 610a1786da
commit b88d6bad1c
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,11 @@
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-internals.h: msvc also knows about __FUNCTION__,
we should also use it. - Patch from Christian Ehrlicher
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
* dbus-sysdeps-util.c: added win32 related tests
* dbus-sysdeps-util.c: added win32 related tests
2006-12-12 Ralf Habacker <ralf.habacker@freenet.de>

View file

@ -48,7 +48,7 @@ void _dbus_warn_check_failed (const char *format,
#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
#define _DBUS_FUNCTION_NAME __func__
#elif defined(__GNUC__)
#elif defined(__GNUC__) || defined(_MSC_VER)
#define _DBUS_FUNCTION_NAME __FUNCTION__
#else
#define _DBUS_FUNCTION_NAME "unknown function"