don't check __STRICT_ANSI__ in luaconf.h
It was noticed that mutiple compilers define __STRICT_ANSI__ but still support IEEE754. So i removed this check, the lua code now just always assumes that IEEE754 is supported. This means that wesnoth might now give undefined behaviour/crashes on plattforms that dont support IEEE754. A boost unit test was added before to check for these codes.
This commit is contained in:
parent
c15e2403f7
commit
676dd75b62
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
** CHANGE it (define it) if you want Lua to avoid the use of any
|
||||
** non-ansi feature or library.
|
||||
*/
|
||||
#if !defined(LUA_ANSI) && defined(__STRICT_ANSI__)
|
||||
#if 0 && !defined(LUA_ANSI) && defined(__STRICT_ANSI__)
|
||||
#define LUA_ANSI
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue