I am in the process of converting some c++ code from Windows to C++. I have a bunch of TEXT macros. TEXT("MyString") which makes L"MyString" or "MyString depending on some condition.
Ideally, on linux, I would simply like to define a macro that does the above. Something like:
# define TEXT(x) L#x
# define TEXT(x) x
But, the above does not seem to compile. Anyone know how to do this?