G
Guest
I have a header that is included from some files that use mscorlib and some that don't use it. One of the macros in this file uses the __pin keyword. When this header is compiled with a source file that doesn't use mscorlib I get the following error:
fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' optio
I'd like something like the following
#ifnusing mscorlib.dl
#define MY_MACRO(x) __pin
#els
#define MY_MACRO(x)
#endi
Its the first line I'm having trouble with.
fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' optio
I'd like something like the following
#ifnusing mscorlib.dl
#define MY_MACRO(x) __pin
#els
#define MY_MACRO(x)
#endi
Its the first line I'm having trouble with.