home *** CD-ROM | disk | FTP | other *** search
-
- /* std.h.bool
- *
- * Dreamscape - C++ class library for RISC OS
- * Copyright (c) 1996 Mark Seaborn <mseaborn@argonet.co.uk>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- * See the Dreamscape documentation for more information.
- */
-
- #ifndef dreamscape_bool_H
- #define dreamscape_bool_H
-
- #ifdef __cplusplus
-
- typedef int bool;
- const bool false = 0, true = 1;
-
- #else
-
- /* This has been bodged to work with OSLib */
-
- #ifndef types_H
- #include "OS:types.h"
- #endif
-
- #define false ((bool) 0)
- #define true ((bool) 1)
-
- #endif
-
- #endif
-