From 1677e7013165034a34fe235822d6b03f3215a69f Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Tue, 6 Sep 2011 20:46:51 +0000 Subject: [PATCH] Prevent Visual C compiler error. --- motorApp/MotorSrc/motorRecord.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/MotorSrc/motorRecord.cc b/motorApp/MotorSrc/motorRecord.cc index 635c62de..0232685d 100644 --- a/motorApp/MotorSrc/motorRecord.cc +++ b/motorApp/MotorSrc/motorRecord.cc @@ -175,7 +175,7 @@ HeadURL: $URL$ /*----------------debugging-----------------*/ -#if (TOOL_FAMILY == gnu) +#if defined(TOOL_FAMILY) && (TOOL_FAMILY == gnu) #ifdef DEBUG #define Debug(l, f, args...) {if (l <= motorRecordDebug) printf(f, ## args);} #else