blob: 5e3daa798a1484a4d47316a91e65f8a280bebd1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-af,v 1.3 2015/02/19 10:50:44 jperkin Exp $
1.) On some systems, curses.h defines TRUE and FALSE, so conditionalise
them here to avoid compiler complaints about duplicate definitions.
--- lib.h.orig 2014-03-12 16:03:45.000000000 +0000
+++ lib.h 2014-12-19 20:41:07.000000000 +0000
@@ -54,8 +54,12 @@
# define N_(a) a
# endif
-# define TRUE 1
-# define FALSE 0
+# ifndef TRUE
+# define TRUE 1
+# endif
+# ifndef FALSE
+# define FALSE 0
+# endif
# define HUGE_STRING 5120
# define LONG_STRING 1024
|