From 4c7f24c1e6d1537cc3d8a834edb9b381e1d3d71c Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Mon, 27 Apr 2009 14:28:42 +0000 Subject: [PATCH] Move preprocessor assertions to the end to avoid MSVC compiler errors. --- motorApp/MotorSrc/motor.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/motorApp/MotorSrc/motor.h b/motorApp/MotorSrc/motor.h index 655cb6e4..8d14bf8a 100644 --- a/motorApp/MotorSrc/motor.h +++ b/motorApp/MotorSrc/motor.h @@ -3,9 +3,9 @@ FILENAME... motor.h USAGE... Definitions and structures common to all levels of motorRecord support (i.e., record, device and driver). -Version: $Revision: 1.20 $ +Version: $Revision: 1.21 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2008-11-19 21:04:30 $ +Last Modified: $Date: 2009-04-27 14:28:42 $ */ /* @@ -123,10 +123,12 @@ typedef enum { /* Define, from top to bottom, how bit fields are packed. */ /* This works for gnu, SunPro, MS Visual C. */ -#if defined(_WIN32) || #cpu(i386) || defined (_M_IX86) || defined (_X86_) +#if defined(_WIN32) || defined (_M_IX86) || defined (_X86_) #define LSB_First (TRUE) /* LSB is packed first. */ #elif defined (__i386__) || defined(_armv4l_) || defined (_X86_64_) #define LSB_First (TRUE) /* LSB is packed first. */ +#elif #cpu(i386) + #define LSB_First (TRUE) /* LSB is packed first. */ #elif #cpu(sparc) || #cpu(m68k) || #cpu(powerpc) #define MSB_First (TRUE) /* MSB is packed first. */ #else