From 9f5e907c90150a67cbe4b87b4ce7df8af9f2a8b2 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 24 Jul 2015 13:35:14 +0100 Subject: [PATCH] Rename DEPRECATED to stop warnings re macro redefinition --- src/grib_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grib_api.h b/src/grib_api.h index 39e479f8c..d1b9dc272 100644 --- a/src/grib_api.h +++ b/src/grib_api.h @@ -34,9 +34,9 @@ extern "C" { #include #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;