summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel/sq
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-08-15 21:21:52 +0000
committeryexo <yexo@openttd.org>2009-08-15 21:21:52 +0000
commit03d711add39db01cde68821d879fe4da14db6300 (patch)
tree8cc353d66aadf9bf022d836d2358b7d70c9b655d /src/3rdparty/squirrel/sq
parent75f8a9db0adcb89a24f4624907298b87196ba26f (diff)
downloadopenttd-03d711add39db01cde68821d879fe4da14db6300.tar.xz
(svn r17195) -Update: squirrel to 2.2.3 stable
Diffstat (limited to 'src/3rdparty/squirrel/sq')
-rw-r--r--src/3rdparty/squirrel/sq/sq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/squirrel/sq/sq.c b/src/3rdparty/squirrel/sq/sq.c
index dc24b372c..0a4e48f14 100644
--- a/src/3rdparty/squirrel/sq/sq.c
+++ b/src/3rdparty/squirrel/sq/sq.c
@@ -59,6 +59,9 @@ void printfunc(HSQUIRRELVM v,const SQChar *s,...)
void PrintVersionInfos()
{
scfprintf(stdout,_SC("%s %s (%d bits)\n"),SQUIRREL_VERSION,SQUIRREL_COPYRIGHT,sizeof(SQInteger)*8);
+ if(sizeof(SQFloat) != sizeof(float)) {
+ scfprintf(stdout,_SC("[%d bits floats]\n"),sizeof(SQFloat)*8);
+ }
}
void PrintUsage()