diff options
Diffstat (limited to 'apps/plugins/lua/rockconf.h')
-rw-r--r-- | apps/plugins/lua/rockconf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/lua/rockconf.h b/apps/plugins/lua/rockconf.h index 92c0f8cac8..7fbc89f166 100644 --- a/apps/plugins/lua/rockconf.h +++ b/apps/plugins/lua/rockconf.h | |||
@@ -51,8 +51,11 @@ struct tm *gmtime(const time_t *timep); | |||
51 | long strtol(const char *nptr, char **endptr, int base); | 51 | long strtol(const char *nptr, char **endptr, int base); |
52 | unsigned long strtoul(const char *str, char **endptr, int base); | 52 | unsigned long strtoul(const char *str, char **endptr, int base); |
53 | size_t strftime(char* dst, size_t max, const char* format, const struct tm* tm); | 53 | size_t strftime(char* dst, size_t max, const char* format, const struct tm* tm); |
54 | long floor(long x); | 54 | long lfloor(long x); |
55 | long pow(long x, long y); | 55 | long lpow(long x, long y); |
56 | |||
57 | #define floor lfloor | ||
58 | #define pow lpow | ||
56 | 59 | ||
57 | /* Simple substitutions */ | 60 | /* Simple substitutions */ |
58 | #define realloc dlrealloc | 61 | #define realloc dlrealloc |