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:
gfgtdf 2015-12-30 18:44:34 +01:00
parent c15e2403f7
commit 676dd75b62

View file

@ -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