Skip to content

Commit 4e92be7

Browse files
committed
Remove stdbool.h include
1 parent 78f4eee commit 4e92be7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/rtmixer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/* See ../rtmixer_build.py, the ring buffer declarations are included there */
22

33
#include <math.h> // for llround()
4-
#include <stdbool.h> // for bool, true, false
4+
#include <stdio.h> // for printf()
5+
#include <string.h> // for memset()
56
#include <portaudio.h>
67
#include "rtmixer.h"
78

src/rtmixer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ typedef unsigned long PaStreamCallbackFlags;
55
/* End of declarations from portaudio.h */
66

77
typedef unsigned long frame_t;
8+
typedef _Bool bool;
9+
#define true 1
10+
#define false 0
811

912
enum actiontype
1013
{

0 commit comments

Comments
 (0)