summaryrefslogtreecommitdiff
path: root/sys-apps/epoch/files/epoch-1.3.0-bool.patch
blob: bcbf39b2e0f5eccb39e53e5728f9856a6aa33217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://github.com/Subsentient/epoch/pull/26
https://bugs.gentoo.org/944368

--- a/src/epoch.h
+++ b/src/epoch.h
@@ -146,7 +146,7 @@
 /**Enums go here.*/
 
 /*Our own boolean type.*/
-enum { false, true }; /*I don't want to use stdbool.*/
+#include <stdbool.h>
 typedef signed char Bool; //Don't change this. Some code relies on this being signed 8 bits.
 
 /*How objects are stopped on shutdown.*/