Fix --disable-threads

This commit is contained in:
twinaphex 2020-05-29 11:16:38 +02:00
parent 11f63f379b
commit 9f9710beb6

View File

@ -142,10 +142,10 @@ static struct save_state_buf undo_save_buf;
* Can be restored with undo_load_state(). */
static struct save_state_buf undo_load_buf;
#ifdef HAVE_THREADS
/* TODO/FIXME - global state - perhaps move outside this file */
static struct autosave_st autosave_state;
#ifdef HAVE_THREADS
/**
* autosave_thread:
* @data : pointer to autosave object