From 1c08fde381ed7767f087e22aeaec2577332da588 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Mon, 1 Mar 2010 17:56:17 -0800 Subject: [PATCH] yay C89 --- vm/master.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vm/master.hpp b/vm/master.hpp index 9ba4ebd64b..dca3d7473c 100755 --- a/vm/master.hpp +++ b/vm/master.hpp @@ -29,15 +29,17 @@ #include #include +#define FACTOR_STRINGIZE(x) #x + /* Record compiler version */ #if defined(__clang__) #define FACTOR_COMPILER_VERSION "Clang (GCC " __VERSION__ ")" #elif defined(__INTEL_COMPILER) - #define FACTOR_COMPILER_VERSION "Intel C Compiler " #__INTEL_COMPILER + #define FACTOR_COMPILER_VERSION "Intel C Compiler " FACTOR_STRINGIZE(__INTEL_COMPILER) #elif defined(__GNUC__) #define FACTOR_COMPILER_VERSION "GCC " __VERSION__ #elif defined(_MSC_FULL_VER) - #define FACTOR_COMPILER_VERSION "Microsoft Visual C++ " #_MSC_FULL_VER + #define FACTOR_COMPILER_VERSION "Microsoft Visual C++ " FACTOR_STRINGIZE(_MSC_FULL_VER) #else #define FACTOR_COMPILER_VERSION "unknown" #endif