[Scummvm-git-logs] scummvm master -> 6409e99089a1ce8783d3e5513baafebdd317b6d4

bgK bastien.bouclet at gmail.com
Sat Apr 7 12:45:01 CEST 2018


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:
6409e99089 N64: Remove the port-specific integer type definitions


Commit: 6409e99089a1ce8783d3e5513baafebdd317b6d4
    https://github.com/scummvm/scummvm/commit/6409e99089a1ce8783d3e5513baafebdd317b6d4
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2018-04-07T12:44:47+02:00

Commit Message:
N64: Remove the port-specific integer type definitions

They are identical to those detected by configure on buildbot

Changed paths:
    backends/platform/n64/portdefs.h


diff --git a/backends/platform/n64/portdefs.h b/backends/platform/n64/portdefs.h
index 63ec989..3645208 100644
--- a/backends/platform/n64/portdefs.h
+++ b/backends/platform/n64/portdefs.h
@@ -36,17 +36,4 @@
 #undef assert
 #define assert(x)  ((x) ? 0 : (print_error("ASSERT TRIGGERED:\n\n("#x")\n%s\nline: %d", __FILE__, __LINE__)))
 
-// Typedef basic data types in a way that is compatible with the N64 SDK.
-typedef unsigned char byte;
-typedef unsigned char uint8;
-typedef signed char int8;
-typedef unsigned short int uint16;
-typedef signed short int int16;
-typedef unsigned int uint32;
-typedef signed int int32;
-
-// Define SCUMMVM_DONT_DEFINE_TYPES to prevent scummsys.h from trying to
-// re-define those data types.
-#define SCUMMVM_DONT_DEFINE_TYPES
-
-#endif
+#endif // __N64_PORTDEFS__





More information about the Scummvm-git-logs mailing list