mirror of https://github.com/ecmwf/eccodes.git
Add macro for deprecation
This commit is contained in:
parent
b46fc0ac03
commit
30eee55efd
|
@ -31,6 +31,13 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#if defined( __GNUC__) || defined(__clang__)
|
||||||
|
#define DEPRECATED __attribute__((deprecated))
|
||||||
|
#else
|
||||||
|
#define DEPRECATED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define GRIB_API_VERSION (GRIB_API_MAJOR_VERSION*10000+GRIB_API_MINOR_VERSION*100+GRIB_API_REVISION_VERSION)
|
#define GRIB_API_VERSION (GRIB_API_MAJOR_VERSION*10000+GRIB_API_MINOR_VERSION*100+GRIB_API_REVISION_VERSION)
|
||||||
|
|
||||||
/* sections */
|
/* sections */
|
||||||
|
|
Loading…
Reference in New Issue