Resolving platform dependence in the definition of __FUNCTION__
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Aug 2004 14:32:10 +0000 (14:32 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Aug 2004 14:32:10 +0000 (14:32 +0000)
STEER/AliLog.h

index 48b2c298eb2a9c79ff527b13630fcb425fcf4591..22c7e08b2aae566a2f6573c32a4380b68e021674 100644 (file)
@@ -98,6 +98,11 @@ class AliLog: public TObject {
   ClassDef(AliLog, 1)   // class for logging debug, info and error messages
 };
 
+#ifndef __GNUC__
+#ifndef __APPLE__
+#define __FUNCTION__ "???"
+#endif
+#endif
 
 #ifdef LOG_NO_DEBUG
 #define AliDebugLevel() -1