mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 02:17:40 +00:00
fixes for mobile
This commit is contained in:
6
hyper.h
6
hyper.h
@@ -7,7 +7,9 @@
|
||||
#define VERNUM_HEX 0xA505
|
||||
|
||||
#include <stdarg.h>
|
||||
#if !ISSTEAM
|
||||
#include "hyper_function.h"
|
||||
#endif
|
||||
|
||||
namespace hr {
|
||||
|
||||
@@ -16,7 +18,11 @@ void ignore(T&&) {
|
||||
// placate GCC's overzealous -Wunused-result
|
||||
}
|
||||
|
||||
#if USE_STDFUNCTION
|
||||
using std::function;
|
||||
#else
|
||||
template<class Sig> using function = hyper_function<Sig>;
|
||||
#endif
|
||||
|
||||
// functions and types used from the standard library
|
||||
using std::vector;
|
||||
|
||||
Reference in New Issue
Block a user