summaryrefslogtreecommitdiff
path: root/plugins/gme/game-music-emu-0.5.5/gme/Blip_Buffer.h.rej
blob: 27e9d6c52ffe1443df7ad8eec6b5568f7abc6f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- /home/waker/Downloads/Game_Music_Emu-0.5.2//gme/Blip_Buffer.h	2006-12-07 21:16:54.000000000 +0100
+++ .//gme/Blip_Buffer.h	2010-05-09 20:40:36.000000000 +0200
@@ -4,15 +4,11 @@
 #ifndef BLIP_BUFFER_H
 #define BLIP_BUFFER_H
 
-	// internal
-	#include <limits.h>
-	#if INT_MAX >= 0x7FFFFFFF
-		typedef int blip_long;
-		typedef unsigned blip_ulong;
-	#else
-		typedef long blip_long;
-		typedef unsigned long blip_ulong;
-	#endif
+// internal
+#include <limits.h>
+#include <stdint.h>
+typedef int32_t blip_long;
+typedef uint32_t blip_ulong;
 
 // Time unit at source clock rate
 typedef blip_long blip_time_t;