[Scummvm-git-logs] scummvm master -> 42903e7e6e37a48ae6cb338a97081f79601c41f4

ccawley2011 noreply at scummvm.org
Wed Jul 3 21:34:37 UTC 2024


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:
42903e7e6e COMMON: Add inttypes.h to common/scummsys.h


Commit: 42903e7e6e37a48ae6cb338a97081f79601c41f4
    https://github.com/scummvm/scummvm/commit/42903e7e6e37a48ae6cb338a97081f79601c41f4
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-07-03T22:34:26+01:00

Commit Message:
COMMON: Add inttypes.h to common/scummsys.h

Changed paths:
    backends/platform/android/portdefs.h
    backends/platform/dc/portdefs.h
    backends/platform/ds/portdefs.h
    backends/platform/libretro/include/portdefs.h
    backends/platform/n64/portdefs.h
    backends/platform/psp/portdefs.h
    common/scummsys.h


diff --git a/backends/platform/android/portdefs.h b/backends/platform/android/portdefs.h
index 62820b24271..4fddaa38593 100644
--- a/backends/platform/android/portdefs.h
+++ b/backends/platform/android/portdefs.h
@@ -29,6 +29,7 @@
 #include <stddef.h>
 #include <assert.h>
 #include <ctype.h>
+#include <inttypes.h>
 #include <limits.h>
 #define _USE_MATH_DEFINES
 #include <math.h>
diff --git a/backends/platform/dc/portdefs.h b/backends/platform/dc/portdefs.h
index 8a391685807..e7aa970e758 100644
--- a/backends/platform/dc/portdefs.h
+++ b/backends/platform/dc/portdefs.h
@@ -29,6 +29,7 @@
 #include <stddef.h>
 #include <assert.h>
 #include <ctype.h>
+#include <inttypes.h>
 #include <limits.h>
 #include <math.h>
 #include <new>
diff --git a/backends/platform/ds/portdefs.h b/backends/platform/ds/portdefs.h
index 248372c2eb0..7d595317351 100644
--- a/backends/platform/ds/portdefs.h
+++ b/backends/platform/ds/portdefs.h
@@ -39,6 +39,7 @@ typedef unsigned int uint;
 #include <stddef.h>
 #include <assert.h>
 #include <ctype.h>
+#include <inttypes.h>
 #include <limits.h>
 #include <math.h>
 #include <new>
diff --git a/backends/platform/libretro/include/portdefs.h b/backends/platform/libretro/include/portdefs.h
index c44b2ccd4f8..b0fe12aee60 100644
--- a/backends/platform/libretro/include/portdefs.h
+++ b/backends/platform/libretro/include/portdefs.h
@@ -22,6 +22,7 @@
 #include <assert.h>
 #include <ctype.h>
 #include <fcntl.h>
+#include <inttypes.h>
 #include <limits.h>
 #include <math.h>
 #include <new>
diff --git a/backends/platform/n64/portdefs.h b/backends/platform/n64/portdefs.h
index 83c09e7ecef..a5f4bf7fc27 100644
--- a/backends/platform/n64/portdefs.h
+++ b/backends/platform/n64/portdefs.h
@@ -32,6 +32,7 @@
 #include <stddef.h>
 // No assert.h
 #include <ctype.h>
+#include <inttypes.h>
 #include <limits.h>
 #include <math.h>
 #include <new>
diff --git a/backends/platform/psp/portdefs.h b/backends/platform/psp/portdefs.h
index 682b58e4ec2..b316ed15764 100644
--- a/backends/platform/psp/portdefs.h
+++ b/backends/platform/psp/portdefs.h
@@ -38,6 +38,7 @@
 #include <stddef.h>
 #include <assert.h>
 #include <ctype.h>
+#include <inttypes.h>
 #include <limits.h>
 #include <math.h>
 #include <new>
diff --git a/common/scummsys.h b/common/scummsys.h
index cab204ba105..b28a5dcc0d6 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -123,6 +123,7 @@
 	#include <stddef.h>
 	#include <assert.h>
 	#include <ctype.h>
+	#include <inttypes.h>
 	#include <limits.h>
 	// MSVC does not define M_PI, M_SQRT2 and other math defines by default.
 	// _USE_MATH_DEFINES must be defined in order to have these defined, thus




More information about the Scummvm-git-logs mailing list