no deperecated warning on old vxworks
This commit is contained in:
1 parent
8c6a895b19
commit
14dc098761
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user