diff options
Diffstat (limited to 'devel/splint/patches')
-rw-r--r-- | devel/splint/patches/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/splint/patches/patch-aa b/devel/splint/patches/patch-aa index 1d55ef1758d..675626fb537 100644 --- a/devel/splint/patches/patch-aa +++ b/devel/splint/patches/patch-aa @@ -1,16 +1,16 @@ -$NetBSD: patch-aa,v 1.1 2005/05/31 19:01:40 rillig Exp $ +$NetBSD: patch-aa,v 1.2 2006/09/16 11:44:26 rillig Exp $ Some systems don't have <stdbool.h>. ---- src/Headers/basic.h.orig Mon Apr 21 00:45:26 2003 -+++ src/Headers/basic.h Tue May 31 20:45:34 2005 +--- src/Headers/basic.h.orig 2003-04-21 00:45:26.000000000 +0200 ++++ src/Headers/basic.h 2006-09-16 13:26:56.805383344 +0200 @@ -22,8 +22,11 @@ # include <stdlib.h> # include <stdio.h> -# ifndef WIN32 -/* Microsoft VC++ still doesn't support ISO C99... */ -+# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2)) ++# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2)) || (defined(__sun) && !(__STDC_VERSION__ >= 199901L)) +#define bool int +#define false 0 +#define true 1 |