Commit 6f297c18 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

corrected issue when building bake without remi

parent 435658f1
......@@ -578,10 +578,10 @@ static int bake_file_set_conf(backend_context_t context,
return 0;
}
#ifdef USE_REMI
static int bake_file_create_fileset(backend_context_t context,
remi_fileset_t* fileset)
{
#ifdef USE_REMI
bake_file_entry_t *entry = (bake_file_entry_t*)context;
int ret;
/* create a fileset */
......@@ -604,10 +604,8 @@ error:
remi_fileset_free(*fileset);
*fileset = NULL;
goto finish;
#else
return BAKE_ERR_OP_UNSUPPORTED;
#endif
}
#endif
bake_backend g_bake_file_backend = {
.name = "file",
......@@ -625,7 +623,9 @@ bake_backend g_bake_file_backend = {
._get_region_data = bake_file_get_region_data,
._remove = bake_file_remove,
._migrate_region = bake_file_migrate_region,
#ifdef USE_REMI
._create_fileset = bake_file_create_fileset,
#endif
._set_conf = bake_file_set_conf
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment