Rename DEPRECATED to stop warnings re macro redefinition

This commit is contained in:
Shahram Najm 2015-07-24 13:35:14 +01:00
parent 76d074ea8e
commit 9f5e907c90
1 changed files with 2 additions and 2 deletions

View File

@ -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;