libraries/iosrv/client/command_base.cpp
changeset 54 ea6622dea85a
parent 37 534b01198c2d
child 58 377ac716dabb
--- a/libraries/iosrv/client/command_base.cpp	Wed Sep 01 17:56:27 2010 +0100
+++ b/libraries/iosrv/client/command_base.cpp	Tue Sep 07 20:04:42 2010 +0100
@@ -3632,7 +3632,9 @@
 	return iProcess;
 	}
 
-#define CASE_RETURN_LIT(XXX) case XXX: { _LIT(_KLit, #XXX); return &_KLit; }
+// Really should define a standard CASE_LIT macro that every compiler can handle...
+#include <fshell/descriptorutils.h>
+#define CASE_RETURN_LIT(x) case x: { static const LtkUtils::SLitC KName = DESC(#x); return &KName; }
 #define CASE_RETURN_LIT2(XXX, YYY) case XXX: { _LIT(_KLit, YYY); return &_KLit; }
 #define DEFAULT_RETURN_LIT(XXX) default: { _LIT(_KLit, XXX); return &_KLit; }