X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdbool.h;fp=includes%2Fstdbool.h;h=0000000000000000000000000000000000000000;hb=b8621b671ffce31002c06f707658f848dd0c0d2a;hp=6e9c83f07acaad0fdfea42e394c49abbb30e1297;hpb=a1f747e81dad0bb9897cb11c652403bb7bbf084c;p=pdclib diff --git a/includes/stdbool.h b/includes/stdbool.h deleted file mode 100644 index 6e9c83f..0000000 --- a/includes/stdbool.h +++ /dev/null @@ -1,35 +0,0 @@ -/* ---------------------------------------------------------------------------- - * $Id$ - * ---------------------------------------------------------------------------- - * Public Domain C Library - http://pdclib.sourceforge.net - * This code is Public Domain. Use, modify, and redistribute at will. - * ---------------------------------------------------------------------------- - * Boolean type and values - * ---------------------------------------------------------------------------- - * This header is part of a freestanding implementation - * --------------------------------------------------------------------------*/ - -#ifndef _STDBOOL_H -#define _STDBOOL_H _STDBOOL_H - -/* ---------------------------------------------------------------------------- - * MACROS - * --------------------------------------------------------------------------*/ - -#define __bool_true_false_are_defined 1 - -#ifndef __cplusplus - -#define bool _Bool -#define false 0 -#define true 1 - -/* ---------------------------------------------------------------------------- - * TYPEDEFS - * --------------------------------------------------------------------------*/ - -typedef int bool; - -#endif /* __cplusplus */ - -#endif /* _STDBOOL_H */