dbus/dbus dbus-internals.h,1.65,1.66

Ralf Habacker rhabacker at kemper.freedesktop.org
Wed Dec 13 07:50:45 PST 2006


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv14836/dbus

Modified Files:
	dbus-internals.h 
Log Message:
2006-12-13  Ralf Habacker  <ralf.habacker at freenet.de>

	* dbus/dbus-internals.h: msvc also knows about __FUNCTION__, 
	we should also use it. - Patch from Christian Ehrlicher


Index: dbus-internals.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-internals.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- dbus-internals.h	15 Nov 2006 01:52:01 -0000	1.65
+++ dbus-internals.h	13 Dec 2006 15:50:43 -0000	1.66
@@ -48,7 +48,7 @@
 
 #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"



More information about the dbus-commit mailing list