mirror of https://github.com/ecmwf/eccodes.git
Rename DEPRECATED to stop warnings re macro redefinition
This commit is contained in:
parent
76d074ea8e
commit
9f5e907c90
|
@ -34,9 +34,9 @@ extern "C" {
|
|||
#include <math.h>
|
||||
|
||||
#if defined( __GNUC__) || defined(__clang__)
|
||||
#define DEPRECATED __attribute__((deprecated))
|
||||
#define ECCODES_DEPRECATED __attribute__((deprecated))
|
||||
#else
|
||||
#define DEPRECATED
|
||||
#define ECCODES_DEPRECATED
|
||||
#endif
|
||||
|
||||
typedef enum ProductKind {PRODUCT_ANY, PRODUCT_GRIB, PRODUCT_BUFR, PRODUCT_METAR, PRODUCT_GTS} ProductKind;
|
||||
|
|
Loading…
Reference in New Issue