[Scummvm-git-logs] scummvm master -> 80c29d1c94aeda439cebc57978533df110bfa12b

sev- sev at scummvm.org
Fri Sep 11 23:00:40 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
80c29d1c94 Symbian: fix incorrect return type in SymbianActions::actionName().


Commit: 80c29d1c94aeda439cebc57978533df110bfa12b
    https://github.com/scummvm/scummvm/commit/80c29d1c94aeda439cebc57978533df110bfa12b
Author: Fiodar Stryzhniou (fedor_qd at mail.ru)
Date: 2020-09-12T01:00:36+02:00

Commit Message:
Symbian: fix incorrect return type in SymbianActions::actionName().

Symbian: silence more warnings from SDK headers.
Symbian: add new project files.

Changed paths:
  A backends/platform/symbian/S60v3/ScummVM_common.mmh
  A backends/platform/symbian/S60v3/ScummVM_pt1.pkg
  A backends/platform/symbian/S60v3/ScummVM_pt1.rss
  A backends/platform/symbian/S60v3/ScummVM_pt1_reg.rss
  A backends/platform/symbian/S60v3/ScummVM_pt2.pkg
  A backends/platform/symbian/S60v3/ScummVM_pt2.rss
  A backends/platform/symbian/S60v3/ScummVM_pt2_reg.rss
  A backends/platform/symbian/S60v3/ScummVM_pt3.pkg
  A backends/platform/symbian/S60v3/ScummVM_pt3.rss
  A backends/platform/symbian/S60v3/ScummVM_pt3_reg.rss
  A backends/platform/symbian/S60v3/ScummVM_pt4.pkg
  A backends/platform/symbian/S60v3/ScummVM_pt4.rss
  A backends/platform/symbian/S60v3/ScummVM_pt4_reg.rss
  A backends/platform/symbian/S60v3/build_config.mmh
    backends/platform/symbian/src/SymbianActions.cpp
    backends/platform/symbian/src/SymbianActions.h
    backends/platform/symbian/src/portdefs.h


diff --git a/backends/platform/symbian/S60v3/ScummVM_common.mmh b/backends/platform/symbian/S60v3/ScummVM_common.mmh
new file mode 100644
index 0000000000..659ad124f1
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_common.mmh
@@ -0,0 +1,140 @@
+/* ScummVM - Graphic Adventure Engine
+ * Copyright (C) 2020 Stryzhniou Fiodar
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+START BITMAP    ScummVM.mbm
+TARGETPATH              \Resource\Apps
+SOURCEPATH              ..\res
+// Source Color-depth Source-bitmap-list
+// c denotes whether the bitmap is a color bitmap and the digits represent the
+// color-depth of the bitmap and the bitmap mask respectively
+SOURCE  c24             ScummSmall.bmp
+SOURCE  8               ScummSmallMask.bmp
+SOURCE  c24             ScummLarge.bmp
+SOURCE  8               ScummLargeMask.bmp
+SOURCE  c24             ScummxLarge.bmp
+SOURCE  8               ScummxLargeMask.bmp
+END
+
+CAPABILITY LocalServices ReadUserData
+
+MACRO			S60
+MACRO			S60V3
+
+ALWAYS_BUILD_AS_ARM
+
+MACRO		SDL_BACKEND
+MACRO		NONSTANDARD_PORT
+MACRO		ENABLE_VKEYBD
+MACRO		DISABLE_FANCY_THEMES
+MACRO		USE_TRANSLATION
+MACRO		USE_BINK
+
+MACRO		USE_A52
+MACRO		USE_FAAD		// LIB:libFAAD2.lib
+MACRO		USE_FLAC		// LIB:libflacdec.lib
+MACRO		USE_FREETYPE2	// LIB:freetype.lib
+MACRO		USE_JPEG		// LIB:libjpeg.lib
+MACRO		USE_MAD			// LIB:libmad.lib
+MACRO		USE_MPEG2		// LIB:libmpeg2.lib
+MACRO		USE_PNG			// LIB:libpng.lib
+MACRO		USE_THEORADEC	// LIB:theora.lib
+MACRO		USE_TREMOR		// LIB:libtremor.lib
+MACRO		USE_ZLIB		// LIB:zlib.lib
+
+// *** Static Libraries
+STATICLIBRARY	scummvm_base.lib
+STATICLIBRARY	liba52.lib
+STATICLIBRARY	libFAAD2.lib
+STATICLIBRARY	libflacdec.lib
+STATICLIBRARY	freetype.lib
+STATICLIBRARY	libjpeg.lib
+STATICLIBRARY	libmad.lib
+STATICLIBRARY	libmpeg2.lib
+STATICLIBRARY	libpng.lib
+STATICLIBRARY	theora.lib
+STATICLIBRARY	libtremor.lib
+STATICLIBRARY	zlib.lib
+STATICLIBRARY	esdl.lib
+
+// *** Include paths
+
+USERINCLUDE	    ..\..\..\.. ..\..\..\..\gui ..\..\..\..\engines
+USERINCLUDE		..\..\..\..\backends\fs ..\src ..\..\..\..\backends\platform\sdl ..\..\..\..\audio
+
+SYSTEMINCLUDE	\epoc32\include\freetype
+SYSTEMINCLUDE	\epoc32\include\mpeg2dec
+SYSTEMINCLUDE   \epoc32\include\jpeg
+SYSTEMINCLUDE   \epoc32\include\png
+SYSTEMINCLUDE	\epoc32\include\ESDL
+SYSTEMINCLUDE	\epoc32\include\ZLIB // before \epoc32\include because symbian already has older version
+SYSTEMINCLUDE   \epoc32\include\libc
+SYSTEMINCLUDE 	\epoc32\include\theora
+SYSTEMINCLUDE   \epoc32\include\tremor
+SYSTEMINCLUDE   \epoc32\include
+SYSTEMINCLUDE   ..\src // for portdefs.h
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\..\base
+
+//START_AUTO_OBJECTS_BASE_// Updated @ Fri Nov  1 17:47:21 2013
+SOURCE main.cpp
+SOURCE commandLine.cpp
+SOURCE plugins.cpp
+SOURCE version.cpp
+//STOP_AUTO_OBJECTS_BASE_//
+
+SOURCEPATH ..\..\..\..
+
+// backend EPOC/SDL/ESDL specific includes
+SOURCE backends\platform\sdl\sdl.cpp
+SOURCE backends\audiocd\sdl\sdl-audiocd.cpp
+SOURCE backends\audiocd\default\default-audiocd.cpp
+SOURCE backends\fs\symbian\symbian-fs.cpp
+SOURCE backends\fs\symbian\symbian-fs-factory.cpp
+SOURCE backends\platform\symbian\src\SymbianOS.cpp
+SOURCE backends\platform\symbian\src\SymbianActions.cpp
+SOURCE backends\platform\symbian\src\ScummApp.cpp
+SOURCE backends\platform\symbian\src\SymbianMain.cpp
+SOURCE gui\Key.cpp
+SOURCE gui\KeysDialog.cpp
+SOURCE gui\Actions.cpp
+SOURCE gui\Dialog.cpp
+
+// Common error
+source common\error.cpp
+source common\quicktime.cpp
+
+// Special for graphics
+source backends\graphics\surfacesdl\surfacesdl-graphics.cpp
+source engines\obsolete.cpp
+
+// *** Dynamic Libraries
+LIBRARY cone.lib  eikcore.lib euser.lib apparc.lib
+LIBRARY fbscli.lib estlib.lib apgrfx.lib gdi.lib
+LIBRARY hal.lib bitgdi.lib mediaclientaudiostream.lib
+LIBRARY efsrv.lib ws32.lib avkon.lib bafl.lib esock.lib
+LIBRARY  remconcoreapi.lib remconinterfacebase.lib libcurl.dll apmime.lib
+
+SOURCEPATH ..\..\sdl
+SOURCE sdl-window.cpp
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt1.pkg b/backends/platform/symbian/S60v3/ScummVM_pt1.pkg
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt1.rss b/backends/platform/symbian/S60v3/ScummVM_pt1.rss
new file mode 100644
index 0000000000..7247ce1207
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt1.rss
@@ -0,0 +1,21 @@
+#include <AppInfo.rh>
+
+// This file localise the applications icons and caption
+RESOURCE LOCALISABLE_APP_INFO
+	{
+	caption_and_icon =
+		{
+		CAPTION_AND_ICON_INFO
+			{
+			// The caption text is defined in the rls file
+			caption = "ScummVM 1";
+			// Icons are used to represent applications in the
+			// application launcher and application title bar.
+			// The number_of_icons value identifies how many icons
+			// that exist in the icon_file.
+			number_of_icons = 1;
+			// Using the application icons.
+			icon_file = "\\Resource\\Apps\\ScummVM.mif";
+			}
+		};
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt1_reg.rss b/backends/platform/symbian/S60v3/ScummVM_pt1_reg.rss
new file mode 100644
index 0000000000..7c309d0bdf
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt1_reg.rss
@@ -0,0 +1,17 @@
+// All registration files need to #include appinfo.rh.
+#include <AppInfo.rh>
+
+// All registration files must define UID2, which is always
+// KUidAppRegistrationResourceFile, and UID3, which is the application's UID.
+UID2 KUidAppRegistrationResourceFile
+UID3 0xA0000657 // application UID
+
+// Registration file need to containo an APP_REGISTRATION_INFO resource that
+// minimally needs to provide the name of the application binary (using the
+// app_file statement).
+RESOURCE APP_REGISTRATION_INFO
+	{
+	app_file = "ScummVM1"; // filename of application binary (minus extension)
+	// Specify the location of the localisable icon/caption definition file
+	localisable_resource_file = "\\Resource\\Apps\\ScummVM_pt1";
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt2.pkg b/backends/platform/symbian/S60v3/ScummVM_pt2.pkg
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt2.rss b/backends/platform/symbian/S60v3/ScummVM_pt2.rss
new file mode 100644
index 0000000000..849e0b017f
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt2.rss
@@ -0,0 +1,21 @@
+#include <AppInfo.rh>
+
+// This file localise the applications icons and caption
+RESOURCE LOCALISABLE_APP_INFO
+	{
+	caption_and_icon =
+		{
+		CAPTION_AND_ICON_INFO
+			{
+			// The caption text is defined in the rls file
+			caption = "ScummVM 2";
+			// Icons are used to represent applications in the
+			// application launcher and application title bar.
+			// The number_of_icons value identifies how many icons
+			// that exist in the icon_file.
+			number_of_icons = 1;
+			// Using the application icons.
+			icon_file = "\\Resource\\Apps\\ScummVM.mif";
+			}
+		};
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt2_reg.rss b/backends/platform/symbian/S60v3/ScummVM_pt2_reg.rss
new file mode 100644
index 0000000000..d779727f98
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt2_reg.rss
@@ -0,0 +1,17 @@
+// All registration files need to #include appinfo.rh.
+#include <AppInfo.rh>
+
+// All registration files must define UID2, which is always
+// KUidAppRegistrationResourceFile, and UID3, which is the application's UID.
+UID2 KUidAppRegistrationResourceFile
+UID3  // application UID
+
+// Registration file need to containo an APP_REGISTRATION_INFO resource that
+// minimally needs to provide the name of the application binary (using the
+// app_file statement).
+RESOURCE APP_REGISTRATION_INFO
+	{
+	app_file = "ScummVM2"; // filename of application binary (minus extension)
+	// Specify the location of the localisable icon/caption definition file
+	localisable_resource_file = "\\Resource\\Apps\\ScummVM_pt2";
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt3.pkg b/backends/platform/symbian/S60v3/ScummVM_pt3.pkg
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt3.rss b/backends/platform/symbian/S60v3/ScummVM_pt3.rss
new file mode 100644
index 0000000000..e24266d66c
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt3.rss
@@ -0,0 +1,21 @@
+#include <AppInfo.rh>
+
+// This file localise the applications icons and caption
+RESOURCE LOCALISABLE_APP_INFO
+	{
+	caption_and_icon =
+		{
+		CAPTION_AND_ICON_INFO
+			{
+			// The caption text is defined in the rls file
+			caption = "ScummVM 3";
+			// Icons are used to represent applications in the
+			// application launcher and application title bar.
+			// The number_of_icons value identifies how many icons
+			// that exist in the icon_file.
+			number_of_icons = 1;
+			// Using the application icons.
+			icon_file = "\\Resource\\Apps\\ScummVM.mif";
+			}
+		};
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt3_reg.rss b/backends/platform/symbian/S60v3/ScummVM_pt3_reg.rss
new file mode 100644
index 0000000000..413dc4bf35
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt3_reg.rss
@@ -0,0 +1,17 @@
+// All registration files need to #include appinfo.rh.
+#include <AppInfo.rh>
+
+// All registration files must define UID2, which is always
+// KUidAppRegistrationResourceFile, and UID3, which is the application's UID.
+UID2 KUidAppRegistrationResourceFile
+UID3 0x2006FE7C // application UID
+
+// Registration file need to containo an APP_REGISTRATION_INFO resource that
+// minimally needs to provide the name of the application binary (using the
+// app_file statement).
+RESOURCE APP_REGISTRATION_INFO
+	{
+	app_file = "ScummVM3"; // filename of application binary (minus extension)
+	// Specify the location of the localisable icon/caption definition file
+	localisable_resource_file = "\\Resource\\Apps\\ScummVM_pt3";
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt4.pkg b/backends/platform/symbian/S60v3/ScummVM_pt4.pkg
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt4.rss b/backends/platform/symbian/S60v3/ScummVM_pt4.rss
new file mode 100644
index 0000000000..c8effb5368
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt4.rss
@@ -0,0 +1,21 @@
+#include <AppInfo.rh>
+
+// This file localise the applications icons and caption
+RESOURCE LOCALISABLE_APP_INFO
+	{
+	caption_and_icon =
+		{
+		CAPTION_AND_ICON_INFO
+			{
+			// The caption text is defined in the rls file
+			caption = "ScummVM 4";
+			// Icons are used to represent applications in the
+			// application launcher and application title bar.
+			// The number_of_icons value identifies how many icons
+			// that exist in the icon_file.
+			number_of_icons = 1;
+			// Using the application icons.
+			icon_file = "\\Resource\\Apps\\ScummVM.mif";
+			}
+		};
+	}
diff --git a/backends/platform/symbian/S60v3/ScummVM_pt4_reg.rss b/backends/platform/symbian/S60v3/ScummVM_pt4_reg.rss
new file mode 100644
index 0000000000..a33d6866e2
--- /dev/null
+++ b/backends/platform/symbian/S60v3/ScummVM_pt4_reg.rss
@@ -0,0 +1,17 @@
+// All registration files need to #include appinfo.rh.
+#include <AppInfo.rh>
+
+// All registration files must define UID2, which is always
+// KUidAppRegistrationResourceFile, and UID3, which is the application's UID.
+UID2 KUidAppRegistrationResourceFile
+UID3 0x2006FE7D // application UID
+
+// Registration file need to containo an APP_REGISTRATION_INFO resource that
+// minimally needs to provide the name of the application binary (using the
+// app_file statement).
+RESOURCE APP_REGISTRATION_INFO
+	{
+	app_file = "ScummVM4"; // filename of application binary (minus extension)
+	// Specify the location of the localisable icon/caption definition file
+	localisable_resource_file = "\\Resource\\Apps\\ScummVM_pt4";
+	}
diff --git a/backends/platform/symbian/S60v3/build_config.mmh b/backends/platform/symbian/S60v3/build_config.mmh
new file mode 100644
index 0000000000..4935855c17
--- /dev/null
+++ b/backends/platform/symbian/S60v3/build_config.mmh
@@ -0,0 +1,74 @@
+/* ScummVM - Graphic Adventure Engine
+ * Copyright (C) 2003-2005 Andreas 'Sprawl' Karlsson - Original EPOC port, ESDL
+ * Copyright (C) 2003-2005 Lars 'AnotherGuest' Persson - Original EPOC port, Audio System
+ * Copyright (C) 2005 Jurgen 'SumthinWicked' Braam - EPOC/CVS maintainer
+ * Copyright (C) 2005-2017 The ScummVM Team
+ * Copyright (C) 2014-2020 Fedor Strizhniou
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+//
+// Common EPOC MMP makefiles option storage for ScummVM
+//
+
+// *** Definitions
+
+OPTION			MSVC /QIfist /Ob1 /Oy /GF // /QIfist disables use of __ftol2 to avoid linker probs with MS libc: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcrefQIfistSuppress_ftol.asp
+OPTION			GCC -Wno-multichar -Wno-reorder // don't optimize for ARM, platform way too sensitive for that :( just turn off some common warnings
+// -Wno-psabi turn off "note: the mangling of 'va_list' has changed in GCC 4.4"
+OPTION			GCCE -pipe -Wno-multichar -Wno-reorder -Wno-unused -Wno-format -fsigned-char -Wno-psabi
+ALWAYS_BUILD_AS_ARM
+
+// *** Include paths
+
+MACRO		S60
+MACRO		S60V3
+MACRO		NONSTANDARD_PORT
+MACRO		ENABLE_VKEYBD
+MACRO		DISABLE_FANCY_THEMES
+MACRO		USE_TRANSLATION
+MACRO		USE_BINK
+MACRO		USE_FAAD		// LIB:libFAAD2.lib
+MACRO		USE_FLAC		// LIB:libflacdec.lib
+MACRO		USE_FREETYPE2	// LIB:freetype.lib
+MACRO		USE_JPEG		// LIB:libjpeg.lib
+MACRO		USE_MAD			// LIB:libmad.lib
+MACRO		USE_MPEG2		// LIB:libmpeg2.lib
+MACRO		USE_PNG			// LIB:libpng.lib
+MACRO		USE_THEORADEC	// LIB:theora.lib
+MACRO		USE_TREMOR		// LIB:libtremor.lib
+MACRO		USE_ZLIB		// LIB:zlib.lib
+
+USERINCLUDE     ..\..\..\..\engines
+USERINCLUDE     ..\..\..\.. ..\..\..\..\gui ..\..\..\..\audio ..\src
+
+SYSTEMINCLUDE	\epoc32\include\freetype
+SYSTEMINCLUDE	\epoc32\include\mpeg2dec
+SYSTEMINCLUDE   \epoc32\include\jpeg
+SYSTEMINCLUDE   \epoc32\include\png
+SYSTEMINCLUDE	\epoc32\include\ESDL
+SYSTEMINCLUDE	\epoc32\include\ZLIB // before \epoc32\include because symbian already has older version
+SYSTEMINCLUDE   \epoc32\include\libc
+SYSTEMINCLUDE 	\epoc32\include\theora
+SYSTEMINCLUDE   \epoc32\include\tremor
+SYSTEMINCLUDE   \epoc32\include\site
+SYSTEMINCLUDE   \epoc32\include
+SYSTEMINCLUDE   ..\src // for portdefs.h
diff --git a/backends/platform/symbian/src/SymbianActions.cpp b/backends/platform/symbian/src/SymbianActions.cpp
index efc2e9b1ff..3f5eab2b97 100644
--- a/backends/platform/symbian/src/SymbianActions.cpp
+++ b/backends/platform/symbian/src/SymbianActions.cpp
@@ -74,7 +74,7 @@ void SymbianActions::init() {
 }
 
 
-Common::U32String SymbianActions::actionName(ActionType action) {
+Common::String SymbianActions::actionName(ActionType action) {
 	return _(actionNames[action]);
 }
 
diff --git a/backends/platform/symbian/src/SymbianActions.h b/backends/platform/symbian/src/SymbianActions.h
index 6e09a21623..cf060aed44 100644
--- a/backends/platform/symbian/src/SymbianActions.h
+++ b/backends/platform/symbian/src/SymbianActions.h
@@ -63,7 +63,7 @@ class SymbianActions : public Actions {
 public:
 	// Actions
 	bool perform(ActionType action, bool pushed = true);
-	Common::U32String actionName(ActionType action);
+	Common::String actionName(ActionType action) override;
 	int size();
 	static void init();
 	void initInstanceMain(OSystem *mainSystem);
diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h
index f4a739df41..64248ba663 100644
--- a/backends/platform/symbian/src/portdefs.h
+++ b/backends/platform/symbian/src/portdefs.h
@@ -34,11 +34,13 @@
 #if (__GNUC__ && __cplusplus)
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wreturn-local-addr"
+#pragma GCC diagnostic ignored "-Wnarrowing"
 #endif
 #include <e32def.h>
 #include <e32std.h>
 #if (__GNUC__ && __cplusplus)
 #pragma GCC diagnostic pop
+#pragma GCC diagnostic pop
 #endif
 
 #include <libc\math.h>
@@ -166,6 +168,23 @@ namespace std
 	#define vsnprintf(buf,len,format,valist) symbian_vsnprintf(buf,len,format,valist)
 #endif
 
+extern "C" float roundf (float x); // ultima engine
+extern "C" double nearbyint(double x); // ultima engine
+extern "C" double round(double x); // ultima engine
+
+
+#ifndef signbit
+#define signbit(x)     \
+    ((sizeof (x) == sizeof (float)) ? __signbitf(x) \
+    : (sizeof (x) == sizeof (double)) ? __signbit(x) \
+    : __signbitl(x))
+#endif 
+
+extern "C" int __signbit(double);
+extern "C" int __signbitf(float);
+extern "C" int __signbitl(long double);
+extern "C" float truncf(float);
+
 #ifndef __WINS__
 #define USE_ARM_GFX_ASM
 #define USE_ARM_SMUSH_ASM




More information about the Scummvm-git-logs mailing list