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 48b2c29..22c7e08 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