mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819
This commit is contained in:
parent
207700ac36
commit
765fc0bbc6
@ -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,
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user