diff --git a/bmi.h b/bmi.h index 085f7ee..f2dd2b5 100644 --- a/bmi.h +++ b/bmi.h @@ -5,8 +5,8 @@ extern "C" { #endif -#define BMI_SUCCESS (0) -#define BMI_FAILURE (1) +const static int BMI_SUCCESS = 0; +const static int BMI_FAILURE = 1; #define BMI_MAX_UNITS_NAME (2048) #define BMI_MAX_TYPE_NAME (2048)