#include <assert.h>
#include <ctype.h>
-#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
new_state->cheated = TRUE;
} else {
char *endptr;
- const int i = strtol(move, &endptr, errno = 0);
+ const int i = strtol(move, &endptr, 0);
int value;
- if (errno == ERANGE) return NULL;
if (endptr == move) return NULL;
if (*endptr != '_') return NULL;
move = endptr + 1;
TRUE, FALSE, game_print_size, game_print,
FALSE, /* wants_statusbar */
FALSE, game_timing_state,
- 0, /* flags */
+ REQUIRE_NUMPAD, /* flags */
};
#ifdef STANDALONE_SOLVER /* solver? hah! */