Commit b88d6bad authored by Ralf Habacker's avatar Ralf Habacker

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
parent 610a1786
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>
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment