void-packages/srcpkgs/caps/patches/musl.patch

30 lines
739 B
Diff

--- basics.h 2019-01-07 16:13:33.353999394 +0100
+++ basics.h 2019-01-07 16:13:44.915942123 +0100
@@ -46,17 +46,18 @@
#include <assert.h>
#include <stdio.h>
+#include <stdint.h>
#include "ladspa.h"
-typedef __int8_t int8;
-typedef __uint8_t uint8;
-typedef __int16_t int16;
-typedef __uint16_t uint16;
-typedef __int32_t int32;
-typedef __uint32_t uint32;
-typedef __int64_t int64;
-typedef __uint64_t uint64;
+typedef int8_t int8;
+typedef uint8_t uint8;
+typedef int16_t int16;
+typedef uint16_t uint16;
+typedef int32_t int32;
+typedef uint32_t uint32;
+typedef int64_t int64;
+typedef uint64_t uint64;
#define MIN_GAIN 1e-6 /* -120 dB */
/* smallest non-denormal 32 bit IEEE float is 1.18e-38 */