csc preprocessor defines

  • Thread starter Thread starter Harold Howe
  • Start date Start date
H

Harold Howe

Is there a preprocessor define that identifies which version of the
compiler is processing a source file? Something analogous to _MSC_VER,
__BORLANDC__ and __GNUC__.

H^2
 
Is there a preprocessor define that identifies which version of the
compiler is processing a source file? Something analogous to _MSC_VER,
__BORLANDC__ and __GNUC__.

The Microsoft compiler does not. Mono apparently has a __MonoCS__
symbol defined.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

_MSC_VER 5
code after preprocessor / macro 3
#define in C# 3
C# Preprocessor 2
predefined preprocessor constants 2
distinguishing between VC2002 and VC2003 1
passing define into a build 3
C# Preprocessor 3

Back
Top