(svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819

This commit is contained in:
tron 2005-08-12 12:47:35 +00:00
parent 207700ac36
commit 765fc0bbc6
2 changed files with 1 additions and 2 deletions

View File

@ -26,6 +26,7 @@
#include "player.h" #include "player.h"
#include "saveload.h" #include "saveload.h"
#include "variables.h" #include "variables.h"
#include <setjmp.h>
enum { enum {
SAVEGAME_MAJOR_VERSION = 16, SAVEGAME_MAJOR_VERSION = 16,

View File

@ -3,8 +3,6 @@
#ifndef SAVELOAD_H #ifndef SAVELOAD_H
#define SAVELOAD_H #define SAVELOAD_H
#include <setjmp.h>
typedef enum SaveOrLoadResult { typedef enum SaveOrLoadResult {
SL_OK = 0, // completed successfully SL_OK = 0, // completed successfully
SL_ERROR = 1, // error that was caught before internal structures were modified SL_ERROR = 1, // error that was caught before internal structures were modified