diff options
Diffstat (limited to 'apps/plugins/lua/rockaux.c')
-rw-r--r-- | apps/plugins/lua/rockaux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lua/rockaux.c b/apps/plugins/lua/rockaux.c index c4af2b3e96..c9066e5610 100644 --- a/apps/plugins/lua/rockaux.c +++ b/apps/plugins/lua/rockaux.c | |||
@@ -202,11 +202,13 @@ int strcoll(const char * str1, const char * str2) | |||
202 | return rb->strcmp(str1, str2); | 202 | return rb->strcmp(str1, str2); |
203 | } | 203 | } |
204 | 204 | ||
205 | #ifndef _WIN32 | ||
205 | struct tm * gmtime(const time_t *timep) | 206 | struct tm * gmtime(const time_t *timep) |
206 | { | 207 | { |
207 | static struct tm time; | 208 | static struct tm time; |
208 | return rb->gmtime_r(timep, &time); | 209 | return rb->gmtime_r(timep, &time); |
209 | } | 210 | } |
211 | #endif | ||
210 | 212 | ||
211 | int get_current_path(lua_State *L, int level) | 213 | int get_current_path(lua_State *L, int level) |
212 | { | 214 | { |