/* vim: ts=4 sw=4 sts=4 ff=unix fenc=utf-8 :
* =====================================================================
* sc_stdbool.h
* Copyright (c) 2003 - 2011 sys0tem
* LICENSE :
* LGPL (GNU Lesser General Public License - Version 3,29 June 2007)
* http://www.gnu.org/copyleft/lesser.html
* or
* EPL (Eclipse Public License - v1.0)
* http://www.eclipse.org/legal/epl-v10.html
* =====================================================================
*/
#ifndef __SC_STDBOOL_H__
#define __SC_STDBOOL_H__
#if (HAS_STDBOOL_H)
#include <stdbool.h>
#else
typedef enum {
false = 0,
true = 1
} bool;
#ifndef _Bool
#define _Bool bool
#endif
#endif /* HAS_STDBOOL_H */
#endif /* __SC_STDBOOL_H__ */