aboutsummaryrefslogtreecommitdiff
path: root/portable/stdbool.h
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-09 15:32:54 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-09 15:32:54 -0800
commitccf1cd7efa90bdcbe834e0d4ca144289cca97fd7 (patch)
treea3f791ef91920da7a1857e2e95bab3ecdf9aa4a7 /portable/stdbool.h
parentce6c27ef04783e21baf44549ff9e361e0c0f148e (diff)
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.
Diffstat (limited to 'portable/stdbool.h')
-rw-r--r--portable/stdbool.h4
1 files changed, 3 insertions, 1 deletions
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 <stdbool.h>
#else
-# if !HAVE__BOOL
+# if HAVE__BOOL
+# define bool _Bool
+# else
# ifdef __cplusplus
typedef bool _Bool;
# elif _WIN32