summaryrefslogtreecommitdiff
path: root/cad/veriwell/patches/patch-src_acc__user.h
blob: 4cf5541064a30b24eef98a80db31c412cfb52d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-src_acc__user.h,v 1.1 2020/03/18 17:45:25 joerg Exp $

--- src/acc_user.h.orig	2020-03-18 16:17:15.862134072 +0000
+++ src/acc_user.h
@@ -30,10 +30,12 @@
 
 typedef int *handle;
 
+#ifndef __cplusplus
 #define bool int
 #define true 1
-#define TRUE 1
 #define false 0
+#endif
+#define TRUE 1
 #define FALSE 0
 
 #define global extern
@@ -41,7 +43,7 @@ typedef int *handle;
 #define local static
 #define null 0L
 
-extern bool acc_error_flag;
+extern int acc_error_flag;
 
 
 /**********************************************************************/