diff --git a/pvDataApp/pv/pvData.h b/pvDataApp/pv/pvData.h index bead824..cf24e77 100644 --- a/pvDataApp/pv/pvData.h +++ b/pvDataApp/pv/pvData.h @@ -10,7 +10,7 @@ #ifndef PVDATA_H #define PVDATA_H -#ifdef __GNUC__ +#if defined(__GNUC__) && !(defined(__vxworks) && !defined(_WRS_VXWORKS_MAJOR)) #define USAGE_DEPRECATED __attribute__((deprecated)) #define USAGE_ERROR(MSG) __attribute__((error(MSG))) #else