1 In Android the <sys/timeb.h> header and associated ftime(3) has been
2 removed in android-21 since it is deprecated and removed from POSIX.
4 diff -u -r ../brogue-1.7.4/src/platform/curses-platform.c ./src/platform/curses-platform.c
5 --- ../brogue-1.7.4/src/platform/curses-platform.c 2014-07-03 15:19:10.000000000 -0400
6 +++ ./src/platform/curses-platform.c 2014-12-20 03:47:20.303572495 -0500
11 -#include <sys/timeb.h>
12 +#include <sys/time.h>
17 #define PAUSE_BETWEEN_EVENT_POLLING 34//17
19 static uint32_t getTime() {
22 - return 1000 * time.time + time.millitm;
24 + gettimeofday(&tv, NULL);
25 + return 1000 * tv.tv_sec + tv.tv_usec / 1000;
28 static boolean curses_pauseForMilliseconds(short milliseconds) {