blob: 528bd153dd60024afd023ee04f35816f95a90c56 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From a5cea22294a9acb6eed955bd415f562a6cc36482 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 22 Mar 2017 11:54:23 -0700
4Subject: [PATCH] basic.h: Use c99 supported stdint types
5
6include stdint.h for getting the definitions for int types
7
Patrick Williams8e7b46e2023-05-01 14:19:06 -05008Upstream-Status: Pending
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 basics.h | 17 +++++++++--------
12 1 file changed, 9 insertions(+), 8 deletions(-)
13
14diff --git a/basics.h b/basics.h
15index 643d96e..1dc2fa7 100644
16--- a/basics.h
17+++ b/basics.h
18@@ -46,17 +46,18 @@
19
20 #include <assert.h>
21 #include <stdio.h>
22+#include <stdint.h>
23
24 #include "ladspa.h"
25
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+typedef int8_t int8;
35+typedef uint8_t uint8;
36+typedef int16_t int16;
37+typedef uint16_t uint16;
38+typedef int32_t int32;
39+typedef uint32_t uint32;
40+typedef int64_t int64;
41+typedef uint64_t uint64;
42
43 #define MIN_GAIN 1e-6 /* -120 dB */
44 /* smallest non-denormal 32 bit IEEE float is 1.18e-38 */
45--
462.12.0
47