// if the /OPT:REF linker option is used. We defined a macro as this is a\r
// a non standard extension\r
//\r
-#if defined(_MSC_EXTENSIONS) && _MSC_VER < 1800 && !defined (MDE_CPU_EBC)\r
+#if defined(_MSC_VER) && _MSC_VER < 1800 && !defined (MDE_CPU_EBC)\r
///\r
/// Remove global variable from the linked image if there are no references to\r
/// it after all compiler and linker optimizations have been performed.\r
**/\r
#define RETURN_ADDRESS(L) ((L == 0) ? _ReturnAddress() : (VOID *) 0)\r
#elif defined (__GNUC__) || defined (__clang__)\r
- void * __builtin_return_address (unsigned int level);\r
/**\r
Get the return address of the calling function.\r
\r