From ccf1cd7efa90bdcbe834e0d4ca144289cca97fd7 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 9 Feb 2010 15:32:54 -0800 Subject: Update portability code to rra-c-util 3.0 Add replacements for mkstemp and setenv, since we now use them when obtaining credentials in the client. Fix the bool type with Sun Studio 12 on Solaris 10. --- portable/stdbool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'portable/stdbool.h') diff --git a/portable/stdbool.h b/portable/stdbool.h index 01a2ff2..bfbf4c4 100644 --- a/portable/stdbool.h +++ b/portable/stdbool.h @@ -15,7 +15,9 @@ #if HAVE_STDBOOL_H # include #else -# if !HAVE__BOOL +# if HAVE__BOOL +# define bool _Bool +# else # ifdef __cplusplus typedef bool _Bool; # elif _WIN32 -- cgit v1.2.3