no deperecated warning on old vxworks

This commit is contained in:
Michael Davidsaver
2013-10-29 16:58:09 -04:00
parent 8c6a895b19
commit 14dc098761

View File

@@ -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