D
Default User
I've never really done too much stuff with macros. I have a program
here where an target server address is automatically generated from
WSDL. For testing, I want to use a localhost address.
I could do it by overriding the endpoint explicitly, but I'd rather
not. It would be cleaner to define a local testing environment.
My first thought was just to use a #define, like:
#define foo.bar localhost
However, that's no good as foo.bar tain't a legal identifier with that
'.' in it. Anyone have some clever preprocessor way to get what I want?
Brian
here where an target server address is automatically generated from
WSDL. For testing, I want to use a localhost address.
I could do it by overriding the endpoint explicitly, but I'd rather
not. It would be cleaner to define a local testing environment.
My first thought was just to use a #define, like:
#define foo.bar localhost
However, that's no good as foo.bar tain't a legal identifier with that
'.' in it. Anyone have some clever preprocessor way to get what I want?
Brian