Ifdef autosave code for HAVE_THREADS

This commit is contained in:
twinaphex 2016-05-27 20:43:55 +02:00
parent e8eb0ef013
commit c0d86cd8d3
1 changed files with 2 additions and 0 deletions

View File

@ -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: