From 0c0606a8d3fa86f093f9f4371e5a683c1e034f8f Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 9 Sep 2010 16:35:39 +0000 Subject: [PATCH] GNU preprocessor assertions are deprecated with VxWorks 6.x. Added test for CPU macros. --- motorApp/MotorSrc/motor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/motorApp/MotorSrc/motor.h b/motorApp/MotorSrc/motor.h index 8d14bf8a..5b3e7ee8 100644 --- a/motorApp/MotorSrc/motor.h +++ b/motorApp/MotorSrc/motor.h @@ -45,6 +45,8 @@ Last Modified: $Date: 2009-04-27 14:28:42 $ * to support MS Visual C. * .06 01-27-06 rls - Added LT_EPICSBASE macro for test EPICS base versions. * .07 11-19-08 rls - More extensive bit field tests. + * .08 00-09-10 rls - GNU preprocessor assertions are deprecated with VxWorks + * 6.x. Added test for CPU macros. */ #ifndef INCmotorh @@ -131,6 +133,8 @@ typedef enum { #define LSB_First (TRUE) /* LSB is packed first. */ #elif #cpu(sparc) || #cpu(m68k) || #cpu(powerpc) #define MSB_First (TRUE) /* MSB is packed first. */ +#elif (CPU == PPC604) || (CPU == PPC603) || (CPU==PPC85XX) + #define MSB_First (TRUE) /* MSB is packed first. */ #else Error: unknown bit order! #endif