From 525787078fac6fcb7eec4b335a1cb594fec709ec Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Thu, 5 Feb 2015 17:30:15 +1100 Subject: [PATCH] AP_HAL: Changes to fix the warnings in rover sitl build. We are starting the process of resolving all the warnings in the ardupilot builds of all vehicles and platforms. --- libraries/AP_HAL/utility/FastDelegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/utility/FastDelegate.h b/libraries/AP_HAL/utility/FastDelegate.h index 1d8fef2547..fab75df39e 100644 --- a/libraries/AP_HAL/utility/FastDelegate.h +++ b/libraries/AP_HAL/utility/FastDelegate.h @@ -47,7 +47,7 @@ #ifndef FASTDELEGATE_H #define FASTDELEGATE_H -#if _MSC_VER > 1000 +#if defined(_MSC_VER) && (_MSC_VER > 1000) #pragma once #endif // _MSC_VER > 1000