check for MS C compiler before using pragmas