Skip to content

Commit

Permalink
Replace #define of BMI_SUCCESS and BMI_FAILURE with const static int,…
Browse files Browse the repository at this point in the history
… to avoid conflicts with bmi-cxx/bmi.hxx (#13)
  • Loading branch information
PhilMiller committed Jun 24, 2024
1 parent cb402a6 commit 031c5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 031c5ab

Please sign in to comment.