1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

added missing CAP_SHAPES, and changed CAP_SAVE to CAP_FILES

This commit is contained in:
? 2019-02-27 23:42:11 +01:00 committed by Zeno Rogue
parent d95a6ae0d7
commit b52097ebe7

View File

@ -204,6 +204,10 @@
#define CAP_POLY (CAP_SDLGFX || CAP_GL || CAP_SVG) #define CAP_POLY (CAP_SDLGFX || CAP_GL || CAP_SVG)
#endif #endif
#ifndef CAP_SHAPES
#define CAP_SHAPES 1
#endif
#define CAP_QUEUE CAP_POLY #define CAP_QUEUE CAP_POLY
#define CAP_CURVE CAP_POLY #define CAP_CURVE CAP_POLY
@ -413,7 +417,7 @@ extern "C" {
#endif #endif
#endif #endif
#if CAP_SAVE #if CAP_FILES
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>