projects/aports·blob master · refs

36 lines · 873 B

1Use standard integer types instead.
2
3Upstream: proposed.
4--- a/basics.h 2020-06-04 14:05:29.657008378 +0200
5+++ b/basics.h 2020-06-04 14:05:44.430412859 +0200
6@@ -38,6 +38,7 @@
7 #define _ISOC99_SOURCE 1
8 #define _ISOC9X_SOURCE 1
9
10+#include <stdint.h>
11 #include <stdlib.h>
12 #include <string.h>
13
14@@ -49,14 +50,14 @@
15
16 #include "ladspa.h"
17
18-typedef __int8_t int8;
19-typedef __uint8_t uint8;
20-typedef __int16_t int16;
21-typedef __uint16_t uint16;
22-typedef __int32_t int32;
23-typedef __uint32_t uint32;
24-typedef __int64_t int64;
25-typedef __uint64_t uint64;
26+typedef int8_t int8;
27+typedef uint8_t uint8;
28+typedef int16_t int16;
29+typedef uint16_t uint16;
30+typedef int32_t int32;
31+typedef uint32_t uint32;
32+typedef int64_t int64;
33+typedef uint64_t uint64;
34
35 #define MIN_GAIN 1e-6 /* -120 dB */
36 /* smallest non-denormal 32 bit IEEE float is 1.18e-38 */