Ifdef autosave code for HAVE_THREADS
This commit is contained in:
parent
e8eb0ef013
commit
c0d86cd8d3
|
@ -43,6 +43,7 @@ struct ram_type
|
||||||
int type;
|
int type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
/* Autosave support. */
|
/* Autosave support. */
|
||||||
struct autosave_st
|
struct autosave_st
|
||||||
{
|
{
|
||||||
|
@ -284,6 +285,7 @@ void autosave_deinit(void)
|
||||||
autosave_state.list = NULL;
|
autosave_state.list = NULL;
|
||||||
autosave_state.num = 0;
|
autosave_state.num = 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* content_load_ram_file:
|
* content_load_ram_file:
|
||||||
|
|
Loading…
Reference in New Issue