38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/***************************************************************************
|
|
* FILE: stdbool.h (Macros to simulate the 'bool' type in C)
|
|
*
|
|
* =========================================================================
|
|
*
|
|
* Open Watcom Project
|
|
*
|
|
* Copyright (c) 2002-2010 Open Watcom Contributors. All Rights Reserved.
|
|
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
|
|
*
|
|
* This file is automatically generated. Do not edit directly.
|
|
*
|
|
* =========================================================================
|
|
*
|
|
* Description: This header is part of the C99 standard library. It
|
|
* provides a way for the programmer, at his/her option
|
|
* to introduce the type 'bool' into a C program.
|
|
***************************************************************************/
|
|
#ifndef _STDBOOL_H_INCLUDED
|
|
#define _STDBOOL_H_INCLUDED
|
|
#ifndef _ENABLE_AUTODEPEND
|
|
#pragma read_only_file;
|
|
#endif
|
|
|
|
#ifndef __cplusplus
|
|
#if __STDC_VERSION__ >= 199901L
|
|
#define bool _Bool
|
|
#else
|
|
#define bool char
|
|
#endif
|
|
#define true 1
|
|
#define false 0
|
|
#endif
|
|
|
|
#define __bool_true_false_are_defined 1
|
|
|
|
#endif
|