blob: 29a8eb1cee2188769ed775a8c32f326b50d04d0f (
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.6 2015/09/03 14:49:02 wiz 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
|