Hi,
is it possible to get quotes inside a macro??
basically i want to change this:
#ifdef PEGASUS_EXPORTS
#define PEGASUS_API __declspec(dllexport)
#else
#define PEGASUS_API __declspec(dllimport)
#endif
to this:
#ifdef PEGASUS_EXPORTS
#define PEGASUS_API extern "C" __declspec(dllexport)
#else
#define PEGASUS_API extern "C" __declspec(dllimport)
#endif
Obviously the second macros give compiler errors.
Thanks
Skute
"There are 10 types of people in this World, those that understand binary, and those that don't!"
is it possible to get quotes inside a macro??
basically i want to change this:
#ifdef PEGASUS_EXPORTS
#define PEGASUS_API __declspec(dllexport)
#else
#define PEGASUS_API __declspec(dllimport)
#endif
to this:
#ifdef PEGASUS_EXPORTS
#define PEGASUS_API extern "C" __declspec(dllexport)
#else
#define PEGASUS_API extern "C" __declspec(dllimport)
#endif
Obviously the second macros give compiler errors.
Thanks
Skute
"There are 10 types of people in this World, those that understand binary, and those that don't!"