2016-01-21 23:42:40 +01:00

23 lines
527 B
Plaintext

$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