diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-09-14 12:50:23 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-09-14 12:50:23 +0200 |
commit | 1909de2e843f1dfd5e031d3d4aa6901a5b9a139d (patch) | |
tree | 8f33ed557df0957c028de952d06763346ac4acea /gl/stdbool.in.h | |
parent | 5da988e07a96ff154db040befb5472f0dc784a17 (diff) | |
download | monitoring-plugins-1909de2e843f1dfd5e031d3d4aa6901a5b9a139d.tar.gz |
Add Gnulib module "crypto/sha256" and remote "crypto/sha1"
Diffstat (limited to 'gl/stdbool.in.h')
-rw-r--r-- | gl/stdbool.in.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gl/stdbool.in.h b/gl/stdbool.in.h index 2fa46724..36f26560 100644 --- a/gl/stdbool.in.h +++ b/gl/stdbool.in.h | |||
@@ -59,8 +59,10 @@ | |||
59 | /* 7.16. Boolean type and values */ | 59 | /* 7.16. Boolean type and values */ |
60 | 60 | ||
61 | #ifdef __cplusplus | 61 | #ifdef __cplusplus |
62 | # define _Bool bool | 62 | # if !defined _MSC_VER |
63 | # define bool bool | 63 | # define _Bool bool |
64 | # define bool bool | ||
65 | # endif | ||
64 | #else | 66 | #else |
65 | # if !defined __GNUC__ | 67 | # if !defined __GNUC__ |
66 | /* If @HAVE__BOOL@: | 68 | /* If @HAVE__BOOL@: |
@@ -103,8 +105,10 @@ typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; | |||
103 | 105 | ||
104 | /* The other macros must be usable in preprocessor directives. */ | 106 | /* The other macros must be usable in preprocessor directives. */ |
105 | #ifdef __cplusplus | 107 | #ifdef __cplusplus |
106 | # define false false | 108 | # if !defined _MSC_VER |
107 | # define true true | 109 | # define false false |
110 | # define true true | ||
111 | # endif | ||
108 | #else | 112 | #else |
109 | # define false 0 | 113 | # define false 0 |
110 | # define true 1 | 114 | # define true 1 |