diff options
| author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-11 21:50:34 +0000 |
|---|---|---|
| committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-11 21:50:34 +0000 |
| commit | b90594c36bc7f4fa2fdd8121d8c42feb3c58609f (patch) | |
| tree | f99055b3b7708cf4e6a8fff0e09f058e2e7d283c | |
| parent | b021f78eca39719ca4a8a164e00f9e327805cba0 (diff) | |
| download | rockbox-b90594c36bc7f4fa2fdd8121d8c42feb3c58609f.zip rockbox-b90594c36bc7f4fa2fdd8121d8c42feb3c58609f.tar.gz rockbox-b90594c36bc7f4fa2fdd8121d8c42feb3c58609f.tar.bz2 rockbox-b90594c36bc7f4fa2fdd8121d8c42feb3c58609f.tar.xz | |
fixed win32 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5919 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/settings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index 6bc7e96..90248c5 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -20,6 +20,7 @@ #include <stdio.h> #include <stddef.h> #include "config.h" +#include "limits.h" #include "kernel.h" #include "thread.h" #include "settings.h" @@ -1334,7 +1335,7 @@ bool set_int(const char* string, bool done = false; int button; int org_value=*variable; - int last_value = __INT_MAX__; /* out of range init */ + int last_value = INT_MAX; /* out of range init */ #ifdef HAVE_LCD_BITMAP if(global_settings.statusbar) |