diff options
author | William A. Kennington III <wak@google.com> | 2017-02-14 14:11:20 -0800 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-17 13:42:56 -0500 |
commit | 571130af5851a573f9115cafa9558429c9deeabb (patch) | |
tree | bb4fc97a3fbe3f188d16fdcd20fa61fd0b5a9cc1 /src/include/stdbool.h | |
parent | 00be8ce011bb416d4329d59e03e0437ae46fa5f4 (diff) | |
download | talos-hostboot-571130af5851a573f9115cafa9558429c9deeabb.tar.gz talos-hostboot-571130af5851a573f9115cafa9558429c9deeabb.zip |
stdbool: Add definitions
Change-Id: If7fc837fa5a559de329e74fd59a36ed900ce2da1
Signed-off-by: William A. Kennington III <wak@google.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36503
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/stdbool.h')
-rw-r--r-- | src/include/stdbool.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/stdbool.h b/src/include/stdbool.h new file mode 100644 index 000000000..10ec1f544 --- /dev/null +++ b/src/include/stdbool.h @@ -0,0 +1,37 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/stdbool.h $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2017 */ +/* [+] Google Inc. */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ +#ifndef __STDBOOL_H +#define __STDBOOL_H + +#ifndef __cplusplus + +#define bool _Bool +#define true 1 +#define false 0 + +#endif + +#endif |