forked from epics_driver_modules/motorBase
GNU preprocessor assertions are deprecated with VxWorks 6.x. Added test for CPU macros.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user