|
From: | ArbolOne |
Subject: | conditional compilation |
Date: | Mon, 13 Aug 2012 08:33:48 -0700 (PDT) |
User-agent: | G2/1.0 |
I'd like to know how to tell C++ that if it is VC++ it should compiler this line or if it is GCC it should compile another line, i.e. if GCC #define FUNCTION __PRETTY_FUNCTION__ if MSVC #define FUNCTION __func__ any body?
[Prev in Thread] | Current Thread | [Next in Thread] |