1 #ifndef __PBIO_API__PBIO__DEPRECATED_MACRO_H_
2 #define __PBIO_API__PBIO__DEPRECATED_MACRO_H_
4 #if defined(__GNUC__) || defined(__clang__)
5 #define PBIO_API_DEPRECATED_744e321c __attribute__((deprecated))
6 #elif defined(_MSC_VER)
7 #define PBIO_API_DEPRECATED_744e321c __declspec(deprecated)
9 #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
10 #define PBIO_API_DEPRECATED_744e321c
13 #endif //__PBIO_API__PBIO__DEPRECATED_MACRO_H_