diff options
Diffstat (limited to 'include/env_internal.h')
-rw-r--r-- | include/env_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/env_internal.h b/include/env_internal.h index 90a4df8a727..e89fbdb1b75 100644 --- a/include/env_internal.h +++ b/include/env_internal.h @@ -207,6 +207,8 @@ struct env_driver { #define env_save_ptr(x) NULL #endif +#define ENV_SAVE_PTR(x) (CONFIG_IS_ENABLED(SAVEENV) ? (x) : NULL) + extern struct hsearch_data env_htab; #endif /* DO_DEPS_ONLY */ |