no deperecated warning on old vxworks

This commit is contained in:
Michael Davidsaver committed 2013-10-29 16:58:09 -04:00
1 parent 8c6a895b19
commit 14dc098761
1 file changed
+1 -1
+1 -1
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