My legacy project code was used in both MPLAB/C30 and IAR workbench compilers. To make sure both IDE/compiler combinations worked properly with "packed" arrays in their respective sandboxes I used this check:#ifdef MICROCHIP_C30
#define PACKED_C30 __..
#define PACKED_C30 __..