diff options
Diffstat (limited to 'apps/plugins/sdl/include')
-rw-r--r-- | apps/plugins/sdl/include/SDL_config_rockbox.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/sdl/include/SDL_config_rockbox.h b/apps/plugins/sdl/include/SDL_config_rockbox.h index 91183ebf88..2a4c62801d 100644 --- a/apps/plugins/sdl/include/SDL_config_rockbox.h +++ b/apps/plugins/sdl/include/SDL_config_rockbox.h | |||
@@ -92,6 +92,9 @@ | |||
92 | #undef strdup | 92 | #undef strdup |
93 | 93 | ||
94 | /* clock() wraps current_tick */ | 94 | /* clock() wraps current_tick */ |
95 | #ifdef CLOCKS_PER_SEC | ||
96 | #undef CLOCKS_PER_SEC | ||
97 | #endif | ||
95 | #define CLOCKS_PER_SEC HZ | 98 | #define CLOCKS_PER_SEC HZ |
96 | 99 | ||
97 | /* | 100 | /* |
@@ -160,9 +163,13 @@ | |||
160 | #define strlcpy rb->strlcpy | 163 | #define strlcpy rb->strlcpy |
161 | #define strlen rb->strlen | 164 | #define strlen rb->strlen |
162 | #define strncasecmp rb->strncasecmp | 165 | #define strncasecmp rb->strncasecmp |
166 | #ifndef strncat | ||
163 | #define strncat rb->strlcat /* hack */ | 167 | #define strncat rb->strlcat /* hack */ |
168 | #endif | ||
164 | #define strncmp rb->strncmp | 169 | #define strncmp rb->strncmp |
170 | #ifndef strncat | ||
165 | #define strpbrk strpbrk_wrapper | 171 | #define strpbrk strpbrk_wrapper |
172 | #endif | ||
166 | #define strrchr rb->strrchr | 173 | #define strrchr rb->strrchr |
167 | #define strstr SDL_strstr | 174 | #define strstr SDL_strstr |
168 | #define strtok strtok_wrapper | 175 | #define strtok strtok_wrapper |