Skip to content

Commit

Permalink
fix for compilation on M2 mac`
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit2 committed Dec 4, 2024
1 parent 9426a68 commit a1ea924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/netcdf-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static inline int nc_get_alignment(int* thresholdp, int* alignmentp) {
#else
#define HAS_NCRCSET 0
static inline int nc_rc_set(const char* key, const char* value) { return NC_EINVAL; }
static inline const char *nc_rc_get(const char* key) { return NC_EINVAL; }
static inline const char *nc_rc_get(const char* key) { return NULL; }
#endif

#if NC_VERSION_GE(4, 4, 0)
Expand Down

0 comments on commit a1ea924

Please sign in to comment.