diff options
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.22 2004/12/27 15:58:15 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.23 2005/01/04 12:46:04 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -257,6 +257,11 @@ __inline int l_lrint (double flt) | |||
257 | #define LUA_UACNUMBER double | 257 | #define LUA_UACNUMBER double |
258 | 258 | ||
259 | 259 | ||
260 | /* primitive `^' operator for numbers */ | ||
261 | #include <math.h> | ||
262 | #define lua_pow(a,b) pow(a,b) | ||
263 | |||
264 | |||
260 | 265 | ||
261 | /* type to ensure maximum alignment */ | 266 | /* type to ensure maximum alignment */ |
262 | #define LUSER_ALIGNMENT_T union { double u; void *s; long l; } | 267 | #define LUSER_ALIGNMENT_T union { double u; void *s; long l; } |